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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040117 Primes congruent to 5 (mod 12). Also primes p such that x^4 = 9 has no solution mod p. 19
5, 17, 29, 41, 53, 89, 101, 113, 137, 149, 173, 197, 233, 257, 269, 281, 293, 317, 353, 389, 401, 449, 461, 509, 521, 557, 569, 593, 617, 641, 653, 677, 701, 761, 773, 797, 809, 821, 857, 881, 929, 941, 953, 977, 1013, 1049, 1061, 1097, 1109, 1181, 1193 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Primes of the form 2x^2-2xy+5y^2 with x and y nonnegative. - T. D. Noe, May 08 2005

Complement of A040116 relative to A000040. - Vincenzo Librandi, Sep 17 2012

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

MATHEMATICA

Select[Prime/@Range[250], Mod[ #, 12]==5&]

ok[p_]:= Reduce[Mod[x^4 - 9, p] == 0, x, Integers] == False; Select[Prime[Range[200]], ok] (* Vincenzo Librandi, Sep 17 2012  *)

PROG

(PARI) for(i=1, 250, if(prime(i)%12==5, print(prime(i))))

(MAGMA) [p: p in PrimesUpTo(1200) | not exists{x : x in ResidueClassRing(p) | x^4 eq 9} ]; // Vincenzo Librandi, Sep 17 2012

CROSSREFS

Cf. A068227, A068228, A068229, A068231, A068232, A068233, A068234, A068235.

Sequence in context: A030554 A017581 A068230 * A145471 A126193 A074965

Adjacent sequences:  A040114 A040115 A040116 * A040118 A040119 A040120

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

EXTENSIONS

More terms from Dean Hickerson (dean.hickerson(AT)yahoo.com), Feb 27 2002

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 23 04:04 EDT 2013. Contains 225585 sequences.