Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A121834
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A121834 Primes p of the form 4*n^2 + 1 such that 4*p^2+1 is also prime. +0
1
5, 37, 677, 1297, 2917, 8837, 13457, 50177, 147457, 156817, 246017, 341057, 414737, 746497, 1136357, 1726597, 1833317, 2119937, 2802277, 2808977, 3013697, 3549457, 3865157, 3896677, 4104677, 4384837, 5354597, 5410277, 5779217, 6031937 (list; graph; listen)
OFFSET

1,1

COMMENT

Cf. A121326 Primes of the form 4*n^2 + 1, A002496 Primes of the form n^2 + 1, A052291 Primes p such that 4*p^2 + 1 is also prime.

PROGRAM

(PARI) isA121834(n)={ if( (n-1) %4, return(0) ; ) ; if( issquare((n-1)/4), if( isprime(4*n^2+1), return(1), return(0) ), return(0) ; ) ; } { for(i=1, 1000000, p=prime(i) ; if( isA121834(p), print1(p, ", ") ; ) ; ) ; } - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 01 2006

CROSSREFS

Cf. A002496, A052291, A121326.

Sequence in context: A161565 A003709 A095957 this_sequence A083846 A003213 A166851

Adjacent sequences: A121831 A121832 A121833 this_sequence A121835 A121836 A121837

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Aug 28 2006

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 01 2006

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 December 1 19:22 EST 2009. Contains 167811 sequences.


AT&T Labs Research