login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A086298 Numbers n such that 1-2n+3n^2 is prime. 1
1, 4, 6, 10, 12, 18, 22, 28, 40, 42, 46, 52, 54, 64, 70, 78, 84, 88, 90, 94, 96, 112, 120, 130, 132, 136, 138, 142, 154, 160, 174, 216, 222, 226, 232, 238, 240, 276, 282, 288, 292, 294, 306, 310, 316, 328, 336, 358, 360, 370, 396, 400, 408, 424, 436, 438, 466 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[0, 600], PrimeQ[1 - 2*# + 3*#^2]&] (* Vincenzo Librandi, Jan 08 2013 *)
PROG
(Magma) [n: n in [0..550] | IsPrime(1-2*n+3*n^2)]; // Vincenzo Librandi, Jan 08 2013
(PARI) is(n)=isprime(1-2*n+3*n^2) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
Sequence in context: A243864 A024995 A343703 * A144761 A295523 A122171
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Aug 28 2003
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 18:58 EDT 2024. Contains 371798 sequences. (Running on oeis4.)