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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A032600 Difference between n-th lucky number and n-th prime number. 1
-1, 0, 2, 2, 2, 2, 4, 6, 8, 4, 6, 6, 8, 8, 16, 14, 10, 12, 8, 8, 14, 14, 16, 16, 14, 14, 24, 22, 24, 22, 14, 20, 22, 24, 20, 20, 32, 30, 28, 28, 26, 30, 28, 30, 34, 36, 26, 18, 32, 32, 34, 34, 42, 34, 32, 34, 34, 36, 42, 40, 44, 38, 32, 38, 44, 44, 36, 48, 44, 44, 46, 50, 48, 48, 48 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

LINKS

T. D. Noe, Table of n, a(n) for n=1..10000

FORMULA

A000959(n) - A000040(n).

MATHEMATICA

lst = Range[1, 428, 2]; i = 2; While[ i <= (len = Length@lst) && (k = lst[[i]]) <= len, lst = Drop[lst, {k, len, k}]; i++ ]; lst - Prime@ Range@ Length@lst (* Robert G. Wilson v *)

CROSSREFS

Cf. A000040, A000959.

Sequence in context: A008363 A097198 A126663 * A103260 A060824 A064849

Adjacent sequences:  A032597 A032598 A032599 * A032601 A032602 A032603

KEYWORD

sign

AUTHOR

Patrick De Geest (pdg(AT)worldofnumbers.com), May 15, 1998.

EXTENSIONS

Edited by Robert G. Wilson v (rgwv(at)rgwv.com), May 12 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 17 14:50 EST 2012. Contains 206050 sequences.