Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A133518
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A133518 Smallest k such that p(n)^3 + k is prime where p(n) is the n-th prime. +0
8
3, 2, 2, 4, 30, 6, 6, 4, 30, 2, 12, 18, 6, 24, 14, 14, 12, 10, 16, 2, 6, 4, 2, 14, 54, 6, 4, 18, 4, 2, 30, 26, 56, 10, 24, 12, 24, 10, 30, 2, 18, 6, 26, 24, 14, 28, 18, 10, 14, 10, 12, 24, 16, 6, 18, 2, 20, 6, 4, 12, 4, 6, 10, 2, 6, 14, 16, 4, 18, 10, 14, 14, 16, 24, 4, 12, 32, 16, 50, 12, 2 (list; graph; listen)
OFFSET

1,1

EXAMPLE

p(1)=2, 2^3 = 8. for even k, 2^r + k is even and thus not prime, so we only need consider odd k.

for k = 1: 8 + 1 = 9, which is 3^2 and not prime.

for k = 3: 8 + 3 = 11, which is prime, so 3 is the smallest number that can be added to 8 to make a new prime.

Hence a(1) = 3.

CROSSREFS

Cf. A030078, A054271, A091666, A133517, A133519, A133520, A133521, A133522, (A001223).

Sequence in context: A058743 A117970 A111241 this_sequence A120729 A092743 A139420

Adjacent sequences: A133515 A133516 A133517 this_sequence A133519 A133520 A133521

KEYWORD

easy,nonn

AUTHOR

Carl R. White (oeisfan(AT)phodd.net), Sep 14 2007

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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research