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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A121844 Excess of n^3 over previous prime. 0
1, 4, 3, 12, 5, 6, 3, 2, 3, 4, 5, 18, 3, 2, 3, 4, 5, 2, 7, 4, 9, 4, 17, 6, 3, 2, 9, 10, 7, 2, 19, 4, 3, 12, 7, 2, 3, 38, 3, 4, 11, 14, 25, 4, 9, 10, 5, 6, 9, 4, 5, 4, 7, 12, 15, 4, 9, 22, 17, 38, 7, 4, 5, 16, 5, 2, 9, 28, 11, 28, 17, 14, 3, 28, 9, 4, 5, 12, 3, 58, 5, 4, 11, 12, 13, 16, 21, 22, 7, 2, 7 (list; graph; refs; listen; history; internal format)
OFFSET

2,2

EXAMPLE

a(5)=12 because 5^3=125 and previous prime is 113 hence a(5)=125-113=12

MATHEMATICA

Table[n^3-Prime[PrimePi[n^3]], {n, 2, 100}]

CROSSREFS

Sequence in context: A169704 A204291 A099377 * A091512 A106285 A193800

Adjacent sequences:  A121841 A121842 A121843 * A121845 A121846 A121847

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Aug 29 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 23:53 EST 2012. Contains 205860 sequences.