OFFSET
0,4
COMMENTS
Conjecture: the largest Fibonacci number F(n) with its base 10 digits already sorted in descending order is F(16) = 987.
FORMULA
EXAMPLE
a(7) = 31 because F(7) = 13, so the digits in descending order become 31.
a(8) = 21 = F(8), the digits are already in descending order.
MATHEMATICA
FromDigits[Reverse[Sort[IntegerDigits[#]]]]&/@Fibonacci[Range[0, 50]] (* Harvey P. Dale, Sep 16 2016 *)
PROG
(PARI) a(n)=fromdigits(vecsort(digits(fibonacci(n)), , 4)) \\ Charles R Greathouse IV, May 15 2016
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Alonso del Arte, May 12 2016
EXTENSIONS
Corrected and extended by Harvey P. Dale, Sep 16 2016
STATUS
approved