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!)
A076535 a(n) = A064405 (2^m+n) - 2^m (for m large enough this difference appears to be constant). 0
-3, -6, -5, -12, -3, -10, -9, -24, 1, -6, -5, -20, -3, -18, -17, -48, 9, 2, 3, -12, 5, -10, -9, -40, 9, -6, -5, -36, -3, -34, -33, -96, 25, 18, 19, 4, 21, 6, 7, -24, 25, 10, 11, -20, 13, -18, -17, -80, 33, 18, 19, -12, 21, -10, -9, -72, 25, -6, -5, -68, -3, -66, -65, -192, 57, 50, 51, 36, 53, 38, 39, 8, 57, 42, 43, 12, 45, 14, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Table of n, a(n) for n=0..78.

FORMULA

a(n) = n + 1 - 4*A001316(n). a(0) = -3, a(2n) = a(n) + n, a(2n+1) = 2a(n). - Ralf Stephan, Oct 08 2003

EXAMPLE

For n=17; for m=1,2,3,4,5,6,7,8,9,10 values of A064405 (2^m+17) - 2^m are .... 2,2,2,10,2,2,2,2,2,2, so for n>4 the difference seems always equal to 2, hence a(17)=2

PROG

(PARI) A001316(n)=sum(k=0, n, binomial(n, k)%2)

for(n=0, 100, print1(n+1-4*A001316(n), ", ")) \\ Lambert Klasen

CROSSREFS

Cf. A064405.

Sequence in context: A331124 A299209 A007479 * A285327 A239487 A246979

Adjacent sequences:  A076532 A076533 A076534 * A076536 A076537 A076538

KEYWORD

sign

AUTHOR

Benoit Cloitre, Oct 18 2002

EXTENSIONS

More terms from Lambert Klasen (lambert.klasen(AT)gmx.de), Jan 14 2005

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 July 8 05:33 EDT 2020. Contains 335513 sequences. (Running on oeis4.)