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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A323247 a(n) = A005187(A156552(n)). 7
0, 1, 3, 4, 7, 8, 15, 11, 10, 16, 31, 19, 63, 32, 18, 26, 127, 23, 255, 35, 34, 64, 511, 42, 22, 128, 25, 67, 1023, 39, 2047, 57, 66, 256, 38, 50, 4095, 512, 130, 74, 8191, 71, 16383, 131, 41, 1024, 32767, 89, 46, 47, 258, 259, 65535, 54, 70, 138, 514, 2048, 131071, 82, 262143, 4096, 73, 120, 134, 135, 524287, 515 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..2048

FORMULA

a(n) = A005187(A156552(n)).

a(n) = A323243(n) + A323248(n).

For n >= 2, a(A253560(n)) = a(n*A006530(n)) = a(n) + A000225(A001222(n)).

For n >= 1 and k >= 1, a(n*A000040(k+A000720(A006530(n)))) = a(n) + A000225(k+A001222(n)).

PROG

(PARI)

A005187(n) = { my(s=n); while(n>>=1, s+=n); s; };

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)};

A156552(n) = if(1==n, 0, if(!(n%2), 1+(2*A156552(n/2)), 2*A156552(A064989(n))));

A323247(n) = A005187(A156552(n));

CROSSREFS

Cf. A001222, A005187, A006530, A156552, A252464, A253560, A323243, A323248.

Cf. also A283475.

Sequence in context: A073271 A117471 A217135 * A285662 A112062 A037013

Adjacent sequences:  A323244 A323245 A323246 * A323248 A323249 A323250

KEYWORD

nonn

AUTHOR

Antti Karttunen, Jan 10 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 13:56 EDT 2021. Contains 347586 sequences. (Running on oeis4.)