[go: up one dir, main page]

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!)
A105904 Primes for which -32 is a primitive root. 1
5, 7, 13, 23, 29, 37, 47, 53, 79, 103, 149, 167, 173, 197, 199, 239, 263, 269, 293, 317, 349, 359, 367, 373, 383, 389, 463, 479, 487, 503, 509, 557, 599, 607, 613, 647, 653, 677, 709, 719, 743, 757, 773, 797, 823, 829, 839, 853, 863, 877, 887, 967, 983, 1039, 1063, 1087 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
select(t -> isprime(t) and numtheory:-order(-32, t) = t-1, [seq(2*k+1, k=1..1000)]); # Robert Israel, Apr 28 2015
MATHEMATICA
pr=-32; Select[Prime[Range[200]], MultiplicativeOrder[pr, # ] == #-1 &] (* OR *)
a[p_, q_]:=Sum[2 Cos[2^n Pi/((2 q+1)(2 p+1))], {n, 1, 2 q p}]
2 Select[Range[800], Rationalize[N[a[#, 5], 20]] == 1 &] + 1 (* Gerry Martens, Apr 28 2015 *)
PROG
(PARI) is(p)=isprime(p)&&p>2&&znorder(Mod(-32, p))==p-1 \\ M. F. Hasler, May 04 2015
CROSSREFS
Sequence in context: A003628 A216776 A105874 * A038901 A260791 A155006
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 24 2005
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 August 29 09:12 EDT 2024. Contains 375511 sequences. (Running on oeis4.)