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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047973 Distance of n-th prime to nearest cube. 1
1, 2, 3, 1, 3, 5, 9, 8, 4, 2, 4, 10, 14, 16, 17, 11, 5, 3, 3, 7, 9, 15, 19, 25, 28, 24, 22, 18, 16, 12, 2, 6, 12, 14, 24, 26, 32, 38, 42, 43, 37, 35, 25, 23, 19, 17, 5, 7, 11, 13, 17, 23, 25, 35, 41, 47, 53, 55, 61, 62, 60, 50, 36, 32, 30, 26, 12, 6, 4, 6, 10, 16, 24, 30, 36, 40 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

FORMULA

For each prime, find the closest cube (preceding or succeeding); subtract, take absolute value.

EXAMPLE

For 179, 125 is the preceding cube, 216 is the succeeding. 179-125 = 54, 216-179 = 37, so the distance is 37.

CROSSREFS

Cf. A047972.

Sequence in context: A198811 A067337 A180091 * A020501 A086404 A192852

Adjacent sequences:  A047970 A047971 A047972 * A047974 A047975 A047976

KEYWORD

easy,nonn

AUTHOR

Enoch Haga (Enokh(AT)comcast.net)

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 14 23:53 EST 2012. Contains 205689 sequences.