Find the first ten digits of [sum]1 [le] k [le] 1014 k337.
Problem 188 (substitute)
- stijn263
- Posts: 1505
- Joined: Sat Sep 15, 2007 11:57 pm
- Location: Netherlands
Problem 188 (substitute)
Since problem 188 is postponed for a week, perhaps this problem can help cure the empty, hungry feeling
. It was a problem proposal that didn't make it because Maple and Mathematica can find the answer with a single trivial statement. Not using a CAS the problem is quite challenging though. If you solved it correctly, you may to follow this link
. Good luck:
- hk
- Administrator
- Posts: 12831
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Problem 188 (substitute)
Here is another one you might try.
1,1,2,3,5,8,13,21... are the wellknown Fibonacci numbers with recurrence relation F(n)=F(n-1)+F(n-2).
If we take every second Fibonaccinumber we get the sequence:
1,3,8,21,55,144...
Let's call these numbers G2(n).
These seem to follow the recurrence relation G2(n)=3G2(n-1)-G2(n-2).
If we take every third Fibonaccinumber we get the sequence:
2,8,34,144,610
Let's call these numbers G3(n).
Find a3,b3 so that G3(n)=a3G3(n-1)+b3*G3(n-2).
Of course we could also take every p-th Fibonnaci number.
Generalise bp and find a recurrence relation for the numbers ap
Perhaps this is known stuff for you.
Otherwise have fun. If you think you solved it go to this link
1,1,2,3,5,8,13,21... are the wellknown Fibonacci numbers with recurrence relation F(n)=F(n-1)+F(n-2).
If we take every second Fibonaccinumber we get the sequence:
1,3,8,21,55,144...
Let's call these numbers G2(n).
These seem to follow the recurrence relation G2(n)=3G2(n-1)-G2(n-2).
If we take every third Fibonaccinumber we get the sequence:
2,8,34,144,610
Let's call these numbers G3(n).
Find a3,b3 so that G3(n)=a3G3(n-1)+b3*G3(n-2).
Of course we could also take every p-th Fibonnaci number.
Generalise bp and find a recurrence relation for the numbers ap
Perhaps this is known stuff for you.
Otherwise have fun. If you think you solved it go to this link

War ruins the life and health of untold numbers of innocent children.
- Tommy137
- Posts: 238
- Joined: Sun Feb 24, 2008 6:02 pm
- Location: Cologne, Germany
- Contact:
Re: Problem 188 (substitute)
hk wrote:Here is another one you might try.
1,1,2,3,5,8,13,21... are the wellknown Fibonacci numbers with recurrence relation F(n)=F(n-1)+F(n-2).
If we take every second Fibonaccinumber we get the sequence:
1,3,8,21,55,144...
Let's call these numbers G2(n).
These seem to follow the recurrence relation G2(n)=3G2(n-1)-G2(n-2).
If we take every third Fibonaccinumber we get the sequence:
2,8,34,144,610
Let's call these numbers G3(n).
Find a3,b3 so that G3(n)=a3G3(n-1)+b3*G3(n-2).
Of course we could also take every p-th Fibonnaci number.
Generalise bp and find a recurrence relation for the numbers ap
Perhaps this is known stuff for you.
Otherwise have fun. If you think you solved it go to this link
That was really fun. I searched the factors of the first 4 sequences by hand and found a nice pattern, which seems to hold for later sequences.
Was this another problem proposal?

- hk
- Administrator
- Posts: 12831
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Problem 188 (substitute)
No,
yesterday I went through some old problems and was redoing Problem 2, when I came up with this.
Thought it nice but more fun the way I presented it here than as PE problem.
Perhaps it's a nice idea to look whether the apsequence you found is in OEIS.
yesterday I went through some old problems and was redoing Problem 2, when I came up with this.
Thought it nice but more fun the way I presented it here than as PE problem.
Perhaps it's a nice idea to look whether the apsequence you found is in OEIS.

War ruins the life and health of untold numbers of innocent children.
-
BjornEdstrom
- Posts: 37
- Joined: Thu Nov 08, 2007 11:16 pm
Re: Problem 188 (substitute)
Henks problem involves some heavy number theory I don't understand. Interestingly the problem was solved in 1631!
[spoiler]Some research gave mathworld.wolfram.com FaulhabersFormula.html
And then in Maple:
KroneckerDelta := (i, j) -> if (i = j) then 1 else 0 end if;
Faulhaber := (p, n) -> (1/(p + 1)) * sum((-1)^KroneckerDelta(i, p) * binomial(p+1, i) * bernoulli(p+1-i) * n^i ,i=1..p+1);
evalf(log10(Faulhaber(337, 10^14+1)));
4729.471081
evalf(Faulhaber(337, 10^14+1) / (10^4719), 11);
29585798817. 10^11
So the answer is 2 958 579 881[/spoiler]
[spoiler]Some research gave mathworld.wolfram.com FaulhabersFormula.html
And then in Maple:
KroneckerDelta := (i, j) -> if (i = j) then 1 else 0 end if;
Faulhaber := (p, n) -> (1/(p + 1)) * sum((-1)^KroneckerDelta(i, p) * binomial(p+1, i) * bernoulli(p+1-i) * n^i ,i=1..p+1);
evalf(log10(Faulhaber(337, 10^14+1)));
4729.471081
evalf(Faulhaber(337, 10^14+1) / (10^4719), 11);
29585798817. 10^11
So the answer is 2 958 579 881[/spoiler]
- hk
- Administrator
- Posts: 12831
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Problem 188 (substitute)
There's a much simpler approach
[spoiler]use a Riemann sum and you get 1/338*(10^14)^338
or simply calculate the first ten nonzero digits of 1/338[/spoiler]
[spoiler]use a Riemann sum and you get 1/338*(10^14)^338
or simply calculate the first ten nonzero digits of 1/338[/spoiler]

War ruins the life and health of untold numbers of innocent children.
-
BjornEdstrom
- Posts: 37
- Joined: Thu Nov 08, 2007 11:16 pm
Re: Problem 188 (substitute)
[spoiler]Very interesting solution, and it works for 10 digits.
The first few numbers from the Faulhaber function solution is
2958579881 66180473372781345922090729783037475345114968526627218934911242617...
And 1/338 gives
0.002958579881 656804733727810650887573964497041420118343195266272...[/spoiler]
The first few numbers from the Faulhaber function solution is
2958579881 66180473372781345922090729783037475345114968526627218934911242617...
And 1/338 gives
0.002958579881 656804733727810650887573964497041420118343195266272...[/spoiler]
- hk
- Administrator
- Posts: 12831
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Problem 188 (substitute)
Care to calculate the difference?
Say subtract the first 25 nonzero digits of both?
Say subtract the first 25 nonzero digits of both?

War ruins the life and health of untold numbers of innocent children.