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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A086285 Numbers n such that 1+2n+3n^2 is prime. 7
2, 12, 14, 18, 24, 26, 32, 38, 44, 56, 62, 68, 90, 92, 98, 114, 120, 126, 128, 144, 150, 158, 164, 168, 170, 176, 180, 186, 192, 200, 210, 212, 216, 230, 246, 254, 260, 266, 276, 278, 282, 290, 300, 318, 332, 344, 354, 362, 366, 378, 396, 398, 408, 420, 432 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Excluding a(1), this is also the bases in which 321 represents a prime number.

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

MATHEMATICA

Select[Range[500], PrimeQ[1+2#+3#^2]&] (* Harvey P. Dale, Jun 23 2012 *)

PROG

(PARI) is(n)=isprime(1+2*n+3*n^2) \\ Charles R Greathouse IV, Feb 17 2017

CROSSREFS

Sequence in context: A286241 A078755 A186647 * A124163 A108976 A073598

Adjacent sequences:  A086282 A086283 A086284 * A086286 A086287 A086288

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 13 19:25 EST 2018. Contains 317149 sequences. (Running on oeis4.)