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!)
A130063 Primes p such that p divides 3^((p+1)/2) - 2^((p+1)/2) - 1. 4
23, 47, 71, 73, 97, 167, 191, 193, 239, 241, 263, 311, 313, 337, 359, 383, 409, 431, 433, 457, 479, 503, 577, 599, 601, 647, 673, 719, 743, 769, 839, 863, 887, 911, 937, 983, 1009, 1031, 1033, 1103, 1129, 1151, 1153, 1201, 1223, 1249, 1297, 1319, 1321, 1367 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Primes = 1 or 23 mod 24. Hence, together with 2, primes such that (2/p) = 1 = (3/p) where (k/p) is the Legendre symbol. - Charles R Greathouse IV, Apr 06 2012
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[ Range[2000], PrimeQ[ # ]&&Mod[ PowerMod[3, (#+1)/2, # ] - PowerMod[2, (#+1)/2, # ] - 1, # ]==0&]
Select[Prime[Range[250]], Divisible[3^((#+1)/2)-2^((#+1)/2)-1, #]&] (* Harvey P. Dale, Mar 21 2021 *)
PROG
(PARI) is(n)=(n+1)%24<3 && isprime(n) \\ Charles R Greathouse IV, Apr 06 2012
CROSSREFS
Cf. A097934 = Primes p such that p divides 3^((p-1)/2) - 2^((p-1)/2).
Subsequence of A038876.
Sequence in context: A042046 A042044 A042042 * A183010 A134517 A141376
KEYWORD
nonn,easy
AUTHOR
Alexander Adamchuk, May 05 2007
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 July 17 04:55 EDT 2024. Contains 374360 sequences. (Running on oeis4.)