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!)
A059637 Primes p such that x^45 = 2 has no solution mod p. 2
7, 11, 13, 19, 31, 37, 41, 61, 67, 71, 73, 79, 97, 101, 103, 109, 131, 139, 151, 163, 181, 191, 193, 199, 211, 241, 271, 281, 307, 311, 313, 331, 337, 349, 367, 373, 379, 401, 409, 421, 433, 461, 463, 487, 491, 521, 523, 541, 547, 571, 577, 601, 607, 613, 619 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Complement of A049577 relative to A000040.
LINKS
MATHEMATICA
ok[p_] := Reduce[Mod[x^45 - 2, p] == 0, x, Integers] == False; Select[Prime[Range[120]], ok] (* Vincenzo Librandi, Sep 21 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(700) | not exists{x: x in ResidueClassRing(p) | x^45 eq 2}]; // Vincenzo Librandi, Sep 21 2012
(PARI)
N=10^4; default(primelimit, N);
ok(p, r, k)={ return ( (p==r) || (Mod(r, p)^((p-1)/gcd(k, p-1))==1) ); }
forprime(p=2, N, if (! ok(p, 2, 45), print1(p, ", ")));
/* Joerg Arndt, Sep 21 2012 */
CROSSREFS
Sequence in context: A239710 A227921 A176620 * A059308 A075521 A084444
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Feb 02 2001
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 16 03:28 EDT 2024. Contains 371696 sequences. (Running on oeis4.)