login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A178562 First differences of A178344. 2
1, 2, 1, 2, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, -2, 1, 1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1, 1, -10, 1, 1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1, 1, -3, 1, 1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1, 1, -18, 1, 1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1, 1, -3, 1, 1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1, 1, -11, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..65537

FORMULA

a(n) = A178344(n+1) - A178344(n).

PROG

(PARI)

A178344(n) = if(!n, 1, my(i=1, s=0); while(n, s+=prime(i)^(n%2); n >>= 1; i++); (s));

A178562(n) = (A178344(n+1)-A178344(n)); \\ Antti Karttunen, Sep 29 2018

CROSSREFS

Sequence in context: A252374 A161780 A136571 * A232624 A287368 A108149

Adjacent sequences:  A178559 A178560 A178561 * A178563 A178564 A178565

KEYWORD

sign,less

AUTHOR

Juri-Stepan Gerasimov, May 29 2010

EXTENSIONS

Two terms corrected by R. J. Mathar, May 31 2010

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 November 19 16:06 EST 2019. Contains 329320 sequences. (Running on oeis4.)