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!)
A059642 Primes p such that x^55 = 2 has no solution mod p. 2
11, 23, 31, 41, 61, 67, 71, 89, 101, 131, 181, 191, 199, 211, 271, 281, 311, 331, 353, 397, 401, 419, 421, 461, 463, 491, 521, 541, 601, 617, 631, 661, 683, 691, 701, 727, 751, 761, 811, 821, 859, 881, 941, 947, 991, 1021, 1031, 1051, 1061, 1091, 1123 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Complement of A049587 relative to A000040.
LINKS
MATHEMATICA
ok[p_] := Reduce[Mod[x^55 - 2, p] == 0, x, Integers] == False; Select[Prime[Range[200]], ok] (* Vincenzo Librandi, Sep 21 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(1150) | not exists{x: x in ResidueClassRing(p) | x^55 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, 55), print1(p, ", ")));
/* Joerg Arndt, Sep 21 2012 */
CROSSREFS
Sequence in context: A337845 A030675 A110786 * A090920 A344175 A126330
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 23 13:41 EDT 2024. Contains 371914 sequences. (Running on oeis4.)