Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A111131
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A111131 Least cube greater than its predecessor such that their difference is a prime or a power of two times a prime. +0
2
1, 8, 27, 64, 125, 343, 729, 1000, 1331, 1728, 2744, 3375, 4913, 5832, 8000, 10648, 13824, 15625, 17576, 21952, 24389, 35937, 42875, 50653, 54872, 59319, 68921, 74088, 79507, 103823, 132651, 166375, 175616, 195112, 205379, 300763, 314432 (list; graph; listen)
OFFSET

1,2

COMMENT

The sequence was conceived as n^3 is the sum of n primes as shown in the example line.

8=1+7, 27=8+19, 64=27+37, 125=64+61, 343=125+2*109, 729=343+2*193, 1000=729+271, ....

Cube roots are 1,2,3,4,5,7,9,10,11,12,14,15,17,18,20,22,24,25,26,...

MATHEMATICA

a[1] = 1; a[n_] := a[n] = Block[{c = a[n - 1], j}, k = c^(1/3) + 1; While[j = 1; While[ IntegerQ[(k^3 - c)/j], j *= 2]; ! PrimeQ[2(k^3 - c)/j], k++ ]; k^3]; Table[ a[n], {n, 37}] (* Robert G. Wilson v *)

CROSSREFS

See A111103 for another version.

Sequence in context: A052064 A125496 A030289 this_sequence A111103 A076969 A050462

Adjacent sequences: A111128 A111129 A111130 this_sequence A111132 A111133 A111134

KEYWORD

nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Oct 14 2005

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(at)rgwv.com), Oct 18 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 27 14:50 EST 2009. Contains 167570 sequences.


AT&T Labs Research