login
Fibonacci numbers with the base 10 digits sorted into increasing order.
4

%I #23 May 27 2021 11:03:40

%S 0,1,1,2,3,5,8,13,12,34,55,89,144,233,377,16,789,1579,2458,1148,5667,

%T 1469,11177,25678,34668,2557,112339,114689,111378,122459,2348,1234669,

%U 123789,2345578,257788,2245679,1233459,11245778,1368899,23456689,11233455,11145568

%N Fibonacci numbers with the base 10 digits sorted into increasing order.

%C Leading zeros are omitted, of course.

%H G. C. Greubel, <a href="/A272918/b272918.txt">Table of n, a(n) for n = 0..500</a>

%F a(n) = A004185(A000045(n)). - _Michel Marcus_, May 17 2016

%e a(8) = 12 because F(8) = 21, so the digits in ascending order become 12.

%e a(9) = 34 = F(9), the digits are already in ascending order.

%t Table[FromDigits[Sort[IntegerDigits[Fibonacci[n]]]], {n, 0, 49}]

%o (Python)

%o from gmpy2 import fib

%o for n in range(500):

%o print(''.join(sorted(list(str(fib(n))))),end=', ')

%o # _Soumil Mandal_, May 14 2016

%Y Cf. A000045, A004185.

%K nonn,base,easy

%O 0,4

%A _Alonso del Arte_, May 10 2016