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!)
A049595 Primes p such that x^63 = 2 has a solution mod p. 3
2, 3, 5, 11, 17, 23, 31, 41, 47, 53, 59, 83, 89, 101, 107, 131, 137, 149, 157, 167, 173, 179, 191, 223, 227, 229, 233, 251, 257, 263, 269, 277, 283, 293, 311, 317, 347, 353, 359, 383, 389, 397, 401, 419, 431, 439, 443, 457, 461, 467, 479, 499, 503, 509, 521 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Complement of A059647 relative to A000040. - Vincenzo Librandi, Sep 15 2012
LINKS
MAPLE
select(p -> isprime(p) and nops([msolve(x^63-2, p)])>0, [2, seq(2*i+1, i=1..1000)]); # Robert Israel, Nov 03 2014
MATHEMATICA
ok[p_]:= Reduce[Mod[x^63 - 2, p] == 0, x, Integers] =!= False; Select[Prime[Range[150]], ok] (* Vincenzo Librandi, Sep 15 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(600) | exists(t){x : x in ResidueClassRing(p) | x^63 eq 2}]; // Vincenzo Librandi, Sep 15 2012
(PARI) N=10^4;
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, 63), print1(p, ", ")));
/* Joerg Arndt, Sep 21 2012 */
CROSSREFS
Sequence in context: A129942 A113239 A049553 * A258039 A107438 A211204
KEYWORD
nonn,easy
AUTHOR
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 13:56 EDT 2024. Contains 371731 sequences. (Running on oeis4.)