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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057820 First differences of sequence of consecutive prime powers (A000961). 11
1, 1, 1, 1, 2, 1, 1, 2, 2, 3, 1, 2, 4, 2, 2, 2, 2, 1, 5, 4, 2, 4, 2, 4, 6, 2, 3, 3, 4, 2, 6, 2, 2, 6, 8, 4, 2, 4, 2, 4, 8, 4, 2, 1, 3, 6, 2, 10, 2, 6, 6, 4, 2, 4, 6, 2, 10, 2, 4, 2, 12, 12, 4, 2, 4, 6, 2, 2, 8, 5, 1, 6, 6, 2, 6, 4, 2, 6, 4, 14, 4, 2, 4, 14, 6, 6, 4, 2, 4, 6, 2, 6, 6, 6, 4, 6, 8, 4, 8, 10, 2, 10 (list; graph; refs; listen; history; internal format)
OFFSET

0,5

COMMENTS

a(n) = 1 iff A000961(n) = A006549(k) for some k. - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Aug 25 2002

LINKS

Michael B. Porter, Table of n, a(n) for n=0..100000

FORMULA

a(n)=A000961(n+1)-A000961(n)

EXAMPLE

Odd differences arise in pairs in neighborhoods of powers of 2, like {..,2039,2048,2053,..} gives {..,11,5,..}

PROG

Contribution from Michael Porter (michael_b_porter(AT)yahoo.com), Oct 30 2009: (Start)

(PARI) isA000961(n) = (omega(n) == 1 | n == 1)

n_prev=1; for(n=2, 500, if(isA000961(n), print(n-n_prev); n_prev=n)) (End)

CROSSREFS

Cf. A000961, A036616, A001223.

Sequence in context: A050167 A047050 A205028 * A054012 A062083 A133114

Adjacent sequences:  A057817 A057818 A057819 * A057821 A057822 A057823

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Nov 08 2000

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 17 00:09 EST 2012. Contains 205978 sequences.