Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A093245
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A093245 a(n) is the lesser term of the smallest twin prime pair such that if P=(a(n)^2+n)^2+n, then P and P+2 are also twin primes. +0
2
3, 71, 0, 419, 71, 0, 5, 11, 0, 10271, 24977, 0, 29, 6869, 0, 3, 9011, 0, 881, 29, 0, 641, 17, 0, 41, 107, 0, 17, 179, 0, 5, 2801, 0, 10859, 11, 0, 59, 40637, 0, 461, 17957, 0, 431, 431, 0, 24977, 5, 0, 12611, 599, 0, 9431, 1091, 0, 107, 5867, 0, 3, 15731, 0, 5, 659, 0 (list; graph; listen)
OFFSET

1,1

COMMENT

Note that either P or P+2 is composite whenever n is a multiple of 3, and in this case a(n)=0.

EXAMPLE

a(5) = 71: 71 and 73 are twin primes. (71^2+5)^2+5 = 25462121. 25462121 and 25462123 are also twin primes.

MATHEMATICA

f[n_] := Block[{k = 2}, If[ Mod[n, 3] != 0, While[ p = Prime[k]; q = (p^2 + n)^2 + n; !PrimeQ[p + 2] || !PrimeQ[q] || !PrimeQ[q + 2], k++ ]; p, 0]]; Table[ f[n], {n, 63}] (from Robert G. Wilson v Sep 02 2004)

CROSSREFS

Cf. A093189.

Sequence in context: A000282 A140048 A135951 this_sequence A108231 A130894 A106894

Adjacent sequences: A093242 A093243 A093244 this_sequence A093246 A093247 A093248

KEYWORD

nonn

AUTHOR

Ray G. Opao (1260(AT)email.com), May 11 2004

EXTENSIONS

Corrected and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 2 2004

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 July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research