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!)
A332895 a(1) = 0, a(2) = 1, and for n > 2, a(n) = 2*a(A332893(n)) + [n == 1 (mod 4)]. 5
0, 1, 2, 2, 5, 4, 10, 4, 5, 10, 42, 8, 21, 20, 8, 8, 85, 10, 170, 20, 21, 84, 682, 16, 11, 42, 8, 40, 341, 16, 2730, 16, 85, 170, 16, 20, 1365, 340, 40, 40, 5461, 42, 10922, 168, 17, 1364, 43690, 32, 23, 22, 168, 84, 21845, 16, 80, 80, 341, 682, 174762, 32, 87381, 5460, 40, 32, 43, 170, 699050, 340, 1365, 32, 2796202 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

FORMULA

a(1) = 0, a(2) = 1, and for n > 2, a(n) = 2*a(A332893(n)) + [n == 1 (mod 4)].

For n > 1, a(2n) = 2*a(n).

For n >= 1, a(A108546(n)) = A000975(n); A000120(a(n)) = A332897(n).

PROG

(PARI) A332895(n) = if(n<=2, n-1, 2*A332895(A332893(n)) + (1==(n%4)));

CROSSREFS

Cf. A000975, A108546, A332815, A332893, A332896, A332897.

Cf. also A292385.

Sequence in context: A034402 A278420 A292385 * A095057 A056439 A056444

Adjacent sequences: A332892 A332893 A332894 * A332896 A332897 A332898

KEYWORD

nonn

AUTHOR

Antti Karttunen, Mar 04 2020

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 February 8 00:42 EST 2023. Contains 360133 sequences. (Running on oeis4.)