login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A096691 Numbers n such that 8n^2 + 6n + 3 is prime. 3
0, 1, 2, 5, 8, 10, 13, 17, 20, 22, 23, 25, 31, 32, 37, 38, 40, 41, 43, 46, 47, 55, 61, 70, 80, 82, 85, 88, 91, 100, 101, 106, 107, 110, 112, 116, 118, 125, 131, 148, 151, 152, 155, 160, 161, 163, 166, 172, 173, 176, 196, 200, 202, 211, 212, 223, 226, 227, 245, 247 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Table of n, a(n) for n=1..60.

FORMULA

a(n) = A096689(n)/2.

MATHEMATICA

f[n_]:=n^2+(n+1)^2+(n+2); lst={}; Do[p=f[n]; If[PrimeQ[p], AppendTo[lst, n/2]], {n, 0, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jul 04 2009 *)

Select[Range[0, 300], PrimeQ[8#^2+6#+3]&] (* Harvey P. Dale, Jun 11 2015 *)

PROG

(PARI) is(n)=isprime(8*n^2+6*n+3) \\ Charles R Greathouse IV, May 22 2017

CROSSREFS

Cf. A095697, A096689, A096690.

Sequence in context: A140328 A000415 A172000 * A202057 A263651 A070216

Adjacent sequences:  A096688 A096689 A096690 * A096692 A096693 A096694

KEYWORD

nonn

AUTHOR

Ray Chandler, Jul 12 2004

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 25 12:38 EDT 2021. Contains 347654 sequences. (Running on oeis4.)