The n th term of sequence can be written as following F n = F n − 1 + F n − 2 , with F 1 = 1 and F 2 = 1 .
For the question part: F 9 = 3 4 and sum of its digits is 7.
Find the sum of digits of F 9 9
Bonus: Can you find the digit sum of F 9 9 9 9 ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I believe that F 9 9 9 9 = 9 3 8 5 . This made me curious about the numbers n which are equal to the digit sum of F n . The list is given here . It's unknown if the list is infinite or not, but the largest known value for n is 2 2 2 2 .
Log in to reply
Great! Thanks for working on my follow-up question. :)
Problem Loading...
Note Loading...
Set Loading...
This was part of my assignment but i decided to extend it a bit (You can find F 9 9 9 9 using this )
import java.util. ; import java.math. ; public class Fibonacci {
}