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!)
 A302851 Permutation of nonnegative integers: a(0) = 0; for n >= 1, a(n) = A225901(1+A225901(n-1)). 2
 0, 1, 4, 3, 18, 5, 2, 7, 10, 9, 96, 11, 8, 13, 16, 15, 6, 17, 14, 19, 22, 21, 12, 23, 20, 25, 28, 27, 42, 29, 26, 31, 34, 33, 600, 35, 32, 37, 40, 39, 30, 41, 38, 43, 46, 45, 36, 47, 44, 49, 52, 51, 66, 53, 50, 55, 58, 57, 24, 59, 56, 61, 64, 63, 54, 65, 62, 67, 70, 69, 60, 71, 68, 73, 76, 75, 90, 77, 74, 79, 82, 81, 48, 83, 80 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS Antti Karttunen, Table of n, a(n) for n = 0..10079 David Newman, et al., New sequences from old, Discussion on SeqFan-mailing list, January 2018. FORMULA a(0) = 0; for n >= 1, a(n) = A225901(1+A225901(n-1)). PROG (PARI) A225901(n) = { my(s=0, d, k=2); while(n, d=n%k; n=n\k; if(d, s += (k-d)*(k-1)!); k=k+1); (s); }; A302851(n) = if(!n, n, A225901(1+A225901(n-1))); CROSSREFS Cf. A302852 (inverse). Cf. A225901. Sequence in context: A113203 A034486 A130515 * A276083 A161893 A192773 Adjacent sequences:  A302848 A302849 A302850 * A302852 A302853 A302854 KEYWORD nonn,base AUTHOR Antti Karttunen, Apr 26 2018 STATUS approved

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 May 9 04:54 EDT 2021. Contains 343687 sequences. (Running on oeis4.)