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!)
A154264 Nonnegative numbers n such that 9*n^2 - 10*n + 3 is prime. 3
0, 1, 2, 4, 8, 14, 22, 26, 28, 34, 38, 44, 46, 50, 52, 68, 70, 82, 86, 88, 100, 112, 118, 122, 124, 140, 146, 148, 152, 158, 170, 182, 188, 190, 196, 212, 224, 232, 236, 248, 256, 278, 280, 284, 286, 290, 292, 298, 310, 314, 334, 356, 374, 376, 380, 388, 394, 400 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
With the exception of the 1, all entries are == 2 (mod 6) or == 4 (mod 6), as in A047235, because otherwise 9*n^2-10*n+3 is divisible by 2 or 3. - R. J. Mathar, Jul 16 2012
LINKS
MATHEMATICA
lst={}; Do[p=9*n^2-10*n+3; If[PrimeQ[p], AppendTo[lst, n]], {n, 0, 7!}]; lst (* Vladimir Joseph Stephan Orlovsky, Feb 21 2009 *)
PROG
(Magma) [n: n in [0..400] | IsPrime(9*n^2-10*n+3)]; // Vincenzo Librandi, Sep 24 2012
(PARI) is(n)=isprime(9*n^2-10*n+3) \\ Charles R Greathouse IV, May 22 2017
CROSSREFS
Cf. A154261.
Sequence in context: A175300 A316699 A132425 * A370141 A194694 A194692
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 21 2009
EXTENSIONS
Edited by Robert Hochberg, Jun 21 2010
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 18 17:42 EDT 2024. Contains 371781 sequences. (Running on oeis4.)