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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118915 Primes p such that (p^2+5)/6 is prime. 6
5, 13, 19, 23, 37, 41, 89, 113, 127, 131, 139, 149, 167, 197, 229, 233, 239, 251, 271, 359, 373, 401, 433, 449, 463, 503, 523, 541, 607, 631, 643, 653, 701, 719, 743, 769, 811, 827, 877, 881, 887, 919, 967, 971, 1009, 1013, 1021, 1093, 1097, 1283, 1301 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

For all primes q>3, we have q=6k+-1 for some k, which makes it easy to show that 6 divides q^2+5.

(n^2+5)/6 is an integer for all primes except 2 and 3. [From Michael B. Porter (michael_b_porter(AT)yahoo.com), Apr 14 2010]

PROG

(PARI) isA118915(n)=if(n^2%6==1, isprime(n)&&isprime((n^2+5)/6), 0) [From Michael B. Porter (michael_b_porter(AT)yahoo.com), Apr 14 2010]

CROSSREFS

Cf. A109953 (primes p such that (p^2+1)/3 is prime), A118918 (primes p such that (p^2+11)/12 is prime).

Sequence in context: A156111 A162174 A171603 * A084442 A023270 A103804

Adjacent sequences:  A118912 A118913 A118914 * A118916 A118917 A118918

KEYWORD

nonn

AUTHOR

T. D. Noe (noe(AT)sspectra.com), May 05 2006

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 17 02:08 EST 2012. Contains 205978 sequences.