login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A302852 Permutation of nonnegative integers: a(0) = 0; for n >= 1, a(n) = 1+A225901(A225901(n)-1). 2
0, 1, 6, 3, 2, 5, 16, 7, 12, 9, 8, 11, 22, 13, 18, 15, 14, 17, 4, 19, 24, 21, 20, 23, 58, 25, 30, 27, 26, 29, 40, 31, 36, 33, 32, 35, 46, 37, 42, 39, 38, 41, 28, 43, 48, 45, 44, 47, 82, 49, 54, 51, 50, 53, 64, 55, 60, 57, 56, 59, 70, 61, 66, 63, 62, 65, 52, 67, 72, 69, 68, 71, 106, 73, 78, 75, 74, 77, 88, 79, 84, 81, 80, 83, 94, 85 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(0) = 0; for n >= 1, a(n) = 1+A225901(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); };
A302852(n) = if(!n, n, 1+A225901(A225901(n)-1));
CROSSREFS
Cf. A302851 (inverse).
Cf. A225901.
Sequence in context: A010494 A333239 A078333 * A348694 A049605 A088395
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 20 23:53 EDT 2024. Contains 373535 sequences. (Running on oeis4.)