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!)
A341805 Numbers k such that (product of first k primes)-1 is divisible by the (k+1)-th prime. 4
0, 2, 4, 9823712 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A000720(A341804(n)) - 1.
EXAMPLE
4 is a member because 2*3*5*7-1 (product of first 4 primes, minus one) is divisible by the 5th prime, 11.
9823712 is a member because 2*3*5*...*176078267-1 is divisible by 176078293, where 176078267 is the 9823712th prime.
PROG
(PARI) isok(k) = ((vecprod(primes(k)) - 1) % prime(k+1)) == 0; \\ Michel Marcus, Mar 03 2021
CROSSREFS
Sequence in context: A079236 A138852 A062701 * A252783 A192225 A020821
KEYWORD
nonn,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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)