cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

Original entry on oeis.org

0, 1, 1, 2, 3, 5, 8, 13, 12, 34, 55, 89, 144, 233, 377, 16, 789, 1579, 2458, 1148, 5667, 1469, 11177, 25678, 34668, 2557, 112339, 114689, 111378, 122459, 2348, 1234669, 123789, 2345578, 257788, 2245679, 1233459, 11245778, 1368899, 23456689, 11233455, 11145568
Offset: 0

Views

Author

Alonso del Arte, May 10 2016

Keywords

Comments

Leading zeros are omitted, of course.

Examples

			a(8) = 12 because F(8) = 21, so the digits in ascending order become 12.
a(9) = 34 = F(9), the digits are already in ascending order.
		

Crossrefs

Programs

  • Mathematica
    Table[FromDigits[Sort[IntegerDigits[Fibonacci[n]]]], {n, 0, 49}]
  • Python
    from gmpy2 import fib
    for n in range(500):
       print(''.join(sorted(list(str(fib(n))))),end=', ')
    # Soumil Mandal, May 14 2016

Formula

a(n) = A004185(A000045(n)). - Michel Marcus, May 17 2016