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!)
A302988 Primes p such that p - 3 divides 3^p - 3. 2
2, 5, 7, 11, 13, 31, 73, 241, 367, 491, 577, 733, 757, 971, 991, 2593, 2731, 3307, 3391, 3529, 4591, 5113, 7591, 8011, 8713, 11131, 17377, 17911, 18433, 21757, 24181, 34651, 36559, 38921, 39367, 41141, 52951, 53593, 55201, 55681, 59051, 85933, 93871, 95791, 102241, 105031 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Conjecture: the sequence is infinite.
LINKS
MATHEMATICA
Select[Prime[Range[25]], Divisible[3^# - 3, # - 3] &] (* Alonso del Arte, Apr 17 2018 *)
Select[Range[10^5], # != 3 && PrimeQ[#] && PowerMod[3, #, # - 3] == Mod[3, # - 3] &] (* Amiram Eldar, Apr 06 2021 *)
PROG
(PARI) isok(p) = isprime(p) && (p != 3) && (Mod(3, p-3)^p == Mod(3, p-3)); \\ Michel Marcus, Apr 17 2018
CROSSREFS
Sequence in context: A079449 A236071 A038885 * A079379 A287004 A095272
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Apr 17 2018
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 25 09:16 EDT 2024. Contains 371967 sequences. (Running on oeis4.)