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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120444 First differences of A004125. 2
0, 1, 0, 3, -1, 5, 0, 4, 1, 9, -5, 11, 3, 5, 0, 15, -4, 17, -3, 9, 7, 21, -13, 18, 9, 13, -1, 27, -13, 29, 0, 17, 13, 21, -20, 35, 15, 21, -11, 39, -13, 41, 3, 11, 19, 45, -29, 40, 6, 29, 5, 51, -13, 37, -9, 33, 25, 57, -49, 59, 27, 21, 0, 45, -13, 65, 9, 41, -5, 69, -52, 71, 33, 25, 11, 57, -13, 77, -27, 40, 37, 81, -57, 61, 39, 53, -5 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

COMMENTS

It appears that (1) a(n)=0 if and only if n is a power of 2 and (2) a(n)=n-1 if and only if n+1 is a prime. (This has been verified for the first 2000 terms.

CROSSREFS

Sequence in context: A143677 A143467 A143315 * A094919 A197152 A176907

Adjacent sequences:  A120441 A120442 A120443 * A120445 A120446 A120447

KEYWORD

sign

AUTHOR

John W. Layman (layman(AT)math.vt.edu), Jul 19 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 12:59 EST 2012. Contains 205788 sequences.