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!)
A341812 Primes p such that p#-1 is divisible by the next prime after p. 2
3, 7, 176078267 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Here p# means A034386(p).
The next prime after p is then in A341804.
LINKS
Carlos Rivera, Puzzle 117. Certain p#+1 values, contains message from Wilfred Whiteside mentioning this sequence.
EXAMPLE
The prime 7 is a member of this sequence because 2*3*5*7-1=209 is divisible by 11, the next prime immediately following 7.
11 is NOT a member of this sequence because 2*3*5*7*11-1=2309 is not divisible by 13 (leaves a remainder of 8), the next prime after 11.
PROG
(PARI) isok(p) = if (isprime(p), my(a=Mod(1, nextprime(1+p))); forprime(q=2, p, a*=q); (a == 1)); \\ Michel Marcus, Mar 03 2021
CROSSREFS
Sequence in context: A351848 A137125 A103319 * A153021 A155979 A120669
KEYWORD
nonn,bref,hard,more
AUTHOR
Jeppe Stig Nielsen, Feb 20 2021
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 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)