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

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A007639 Primes of form 2n^2 - 2n + 19.
(Formerly M5070)
2
19, 23, 31, 43, 59, 79, 103, 131, 163, 199, 239, 283, 331, 383, 439, 499, 563, 631, 859, 1031, 1123, 1319, 1423, 1531, 1759, 1879, 2003, 2131, 2399, 2539, 2683, 3299, 3463, 3631, 3803, 4159, 4723, 4919, 5119, 5323, 5531, 5743, 6863, 7583, 8599 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

REFERENCES

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

FORMULA

The primes are congruent to {2, 15, 19, 23, 31, 35, 39, 43, 51, 55, 59, 79, 87, 91, 103, 119, 131, 135, 143} (mod 148). - T. D. Noe, May 02 2008

MATHEMATICA

Clear[f, lst, a, n]; f[n_]:=2*n^2-2*n+19; lst={}; Do[If[PrimeQ[a=f[n]], AppendTo[lst, a]], {n, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 05 2009 *)

Select[Table[2n^2-2n+19, {n, 90}], PrimeQ] (* Harvey P. Dale, Dec 19 2011 *)

PROG

(MAGMA) [a: n in [1..60] | IsPrime(a) where a is 2*n^2-2*n+19]; // Vincenzo Librandi, Mar 20 2013

CROSSREFS

Cf. A139827.

Sequence in context: A217281 A019360 A269666 * A261311 A108271 A245585

Adjacent sequences:  A007636 A007637 A007638 * A007640 A007641 A007642

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane, Mira Bernstein, Robert G. Wilson v

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified December 9 21:41 EST 2016. Contains 278987 sequences.