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!)
A122430 Primes of the form 1+2*n+3*n^2. 3
17, 457, 617, 1009, 1777, 2081, 3137, 4409, 5897, 9521, 11657, 14009, 24481, 25577, 29009, 39217, 43441, 47881, 49409, 62497, 67801, 75209, 81017, 85009, 87041, 93281, 97561, 104161, 110977, 120401, 132721, 135257, 140401, 159161, 182041 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
3*a(n)-2 is a square (of the form (3*k+1)^2). - Vincenzo Librandi, Mar 15 2013
Also primes which are the sum of 2 consecutive pentagonal numbers (A000326). - Vicente Izquierdo Gomez, Aug 13 2017
LINKS
MATHEMATICA
Select[Table[1 + 2 n + 3 n^2, {n, 500}], PrimeQ] (* Vincenzo Librandi, Mar 15 2013 *)
PROG
(Magma) [a: n in [1..300] | IsPrime(a) where a is 1+2*n+3*n^2]; // Vincenzo Librandi, Mar 15 2013
(PARI) is(n)=isprime(n) && issquare(3*n-2, &n) && n%3==1 \\ Charles R Greathouse IV, Sep 23 2013
CROSSREFS
Cf. A086285 (numbers n such that 1+2n+3n^2 is prime).
Subsequence of A056109.
Sequence in context: A035022 A012117 A271438 * A009051 A035276 A196484
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 20 2006
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 25 12:15 EDT 2024. Contains 371969 sequences. (Running on oeis4.)