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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098828 Primes of the form 3x^2 - y^2, where x and y are two consecutive numbers. 5
3, 11, 23, 59, 83, 179, 263, 311, 419, 479, 683, 839, 1103, 1511, 2111, 2243, 2663, 2963, 3119, 4139, 4703, 5099, 5303, 5939, 7079, 10223, 11399, 12011, 12323, 12959, 17483, 19403, 21011, 21839, 22259, 24419, 25763, 27143, 27611, 28559, 30011 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Equivalently primes of the form 2n^2 - 2n - 1. a(n)==3 (mod 4).

Equivalently primes p such that 2p+3 is square.

Also 3 followed by primes p of the form 2*n^2+6*n+3 such that 2^(p-1)+3 is not prime. - Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Jan 03 2009; M. F. Hasler, Jan 07 2009; R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 14 2009.

FORMULA

a(n) = (A109367(n) - 3)/2.

MATHEMATICA

Select[Table[Prime[n], {n, 3500}], IntegerQ[(2# + 3)^(1/2)] &] (*Chandler*)

PROG

(MAGMA) [3] cat [ p: p in PrimesUpTo(30100) | exists(t){ n: n in [1..Isqrt(p div 2)] | 2*n^2+6*n+3 eq p } and not IsPrime(2^(p-1)+3) ];

CROSSREFS

Cf. A109358, A109367.

Cf. A153238

Sequence in context: A173078 A128928 A145477 * A165635 A032026 A158034

Adjacent sequences:  A098825 A098826 A098827 * A098829 A098830 A098831

KEYWORD

nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Oct 09 2004

EXTENSIONS

Corrected by Ray Chandler (rayjchandler(AT)sbcglobal.net), Oct 26 2004

Edited by N. J. A. Sloane (njas(AT)research.att.com), Jan 25 2009

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 16 07:39 EST 2012. Contains 205881 sequences.