The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A248025 Lexicographically earliest permutation of the positive integers such that the first digit of a(n+1) is the digital root of a(n). 4
 1, 10, 11, 2, 20, 21, 3, 30, 31, 4, 40, 41, 5, 50, 51, 6, 60, 61, 7, 70, 71, 8, 80, 81, 9, 90, 91, 12, 32, 52, 72, 92, 22, 42, 62, 82, 13, 43, 73, 14, 53, 83, 23, 54, 93, 33, 63, 94, 44, 84, 34, 74, 24, 64, 15, 65, 25, 75, 35, 85, 45, 95, 55, 16, 76, 46, 17, 86, 56, 26, 87, 66, 36, 96 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Reinhard Zumkeller, Table of n, a(n) for n = 1..10000 E. Angelini, Fun and quick permutation (with a digital root), SeqFan list, Sep 29 2014 PROG (PARI) a(n, S=1, u=2)={for(i=1, n, print1(S", "); S=(S-1)%9+1; for(k=1, 9e9, bittest(u, k)&&next; S==digits(k)[1]||next; u+=1<

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 9 13:57 EDT 2020. Contains 336323 sequences. (Running on oeis4.)