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.

A065649 Permutation of nonnegative integers based on Champernowne's constant 0.123456789101112131415...

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 10, 21, 31, 41, 12, 51, 13, 61, 14, 71, 15, 81, 16, 91, 17, 101, 18, 111, 19, 22, 20, 32, 121, 42, 52, 62, 23, 72, 24, 82, 25, 92, 26, 102, 27, 112, 28, 122, 29, 33, 30, 43, 131, 53, 132, 63, 73, 83, 34, 93, 35, 103, 36, 113, 37, 123, 38
Offset: 0

Views

Author

Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de), Nov 09 2001

Keywords

Comments

A261293(n) = a(a(n)). - Reinhard Zumkeller, Aug 14 2015

Crossrefs

Cf. A261279 (fixed points), A261293, A261333.

Programs

  • Haskell
    a065649 n = a065649_list !! n
    a065649_list = zipWith (+)
                   (map ((* 10) . subtract 1) a065648_list) (0 : a033307_list)
    -- Reinhard Zumkeller, Aug 13 2015

Formula

a(n) = if n = 0 then 0 else 10*(A065648(n)-1) + A033307(n-1).

Extensions

Offset and defining formula adjusted by Reinhard Zumkeller, Aug 13 2015