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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097106 (Smallest prime power >= n) - (greatest prime power <= n). 0
0, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 2, 0, 3, 3, 0, 0, 2, 0, 4, 4, 4, 0, 2, 0, 2, 0, 2, 0, 2, 0, 0, 5, 5, 5, 5, 0, 4, 4, 4, 0, 2, 0, 4, 4, 4, 0, 2, 0, 4, 4, 4, 0, 6, 6, 6, 6, 6, 0, 2, 0, 3, 3, 0, 3, 3, 0, 4, 4, 4, 0, 2, 0, 6, 6, 6, 6, 6, 0, 2, 0, 2, 0, 6, 6, 6, 6, 6, 0, 8, 8, 8, 8, 8, 8, 8, 0, 4, 4, 4, 0, 2, 0, 4, 4 (list; graph; refs; listen; history; internal format)
OFFSET

1,6

COMMENTS

a(n) = A000015(n) - A031218(n);

a(n) = 0 iff n is a prime power.

CROSSREFS

Cf. A000961, A072680.

Sequence in context: A172246 A087893 A079169 * A175801 A165619 A088886

Adjacent sequences:  A097103 A097104 A097105 * A097107 A097108 A097109

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Sep 15 2004

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 23:38 EST 2012. Contains 206085 sequences.