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!)
A324890 a(1) = 0, and for n > 1, a(n) = A276150(n) + a(A064989(n)). 2
0, 1, 3, 2, 6, 2, 8, 2, 5, 6, 12, 3, 15, 9, 6, 4, 20, 5, 24, 7, 11, 13, 30, 5, 10, 17, 8, 12, 37, 3, 39, 2, 12, 18, 10, 4, 42, 23, 17, 7, 47, 9, 51, 12, 8, 29, 57, 5, 15, 10, 23, 18, 64, 7, 17, 12, 25, 37, 72, 4, 75, 40, 11, 4, 17, 12, 79, 19, 28, 11, 85, 6, 90, 44, 11, 26, 17, 18, 96, 9, 11, 49, 104, 12, 24, 54, 37, 16, 113, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(1) = 0, and for n > 1, a(n) = A276150(n) + a(A064989(n)).
a(n) = A001222(A324889(n)).
For n >= 0, a(A002110(n)) = n.
PROG
(PARI)
A064989(n) = {my(f); f = factor(n); if((n>1 && f[1, 1]==2), f[1, 2] = 0); for (i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f)};
A276150(n) = { my(s=0, m); forprime(p=2, , if(!n, return(s)); m = n%p; s += m; n = (n-m)/p); };
A324890(n) = if(1==n, 0, A276150(n) + A324890(A064989(n)));
CROSSREFS
Sequence in context: A245691 A071044 A077066 * A180240 A065228 A092843
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 30 2019
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 April 24 11:49 EDT 2024. Contains 371936 sequences. (Running on oeis4.)