Problem 637

A place to air possible concerns or difficulties in understanding ProjectEuler problems. This forum is not meant to publish solutions. This forum is NOT meant to discuss solution methods or giving hints how a problem can be solved.
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.

This forum is NOT meant to discuss solution methods for a problem.

In particular don't post any code fragments or results.

Don't start begging others to give partial answers to problems

Don't ask for hints how to solve a problem

Don't start a new topic for a problem if there already exists one


See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
Post Reply
vamsikal3
Posts: 89
Joined: Sat Oct 01, 2016 9:25 am

Problem 637

Post by vamsikal3 »

<deleted post>
Last edited by vamsikal3 on Wed Nov 25, 2020 4:17 pm, edited 1 time in total.
my friend key --> 990813_OZPwQtCjkD6KlvxirOoTSZxccMFsuw1L
Image
thomas_schmidt
Posts: 1
Joined: Mon Sep 24, 2018 3:40 pm

Re: Problem 637

Post by thomas_schmidt »

Yes, you are correct!
Trying to learn some Mathematics and Scala.
My friend key: 1379851_StEZDaDCBWMjKjW1THPYSY5LIlpqsaZQ
Image
Cot-O-Bus
Posts: 7
Joined: Thu Sep 27, 2018 10:18 am

Re: Problem 637

Post by Cot-O-Bus »

Correct sequence, should looks like:

Code: Select all

 
99999=>
1. 9999+9=10008=>
  2. 1+8 => 9
and f(99999,10)=2
Last edited by Cot-O-Bus on Mon Oct 01, 2018 7:07 pm, edited 3 times in total.
DJohn
Posts: 90
Joined: Sat Oct 11, 2008 12:24 pm

Re: Problem 637

Post by DJohn »

I don't understand where you think the problem is. No one has made any claims about f(10211914,10), and the problem statement does not give any algorithm.

With

Code: Select all

1. 1+0+2+1+1+91+4 = 100 => 
                           2. 1+0+0 = 1
you've shown that f(10211914,10) <= 2. But then where do you get
10211914 -9*floor(10211914/9) = 1
There's no mention of division or multiplication. You can only split the base-B representation of a number into chunks, and add those chunks together.
Post Reply