OFFSET
1,1
COMMENTS
The initial term 2 is included because the empty product minus 1 (which gives zero) is divisible by 2.
EXAMPLE
The prime 11 is included because 2*3*5*7-1 is divisible by 11. Therefore, the last factor of the product, namely 7, is in A341812.
PROG
(PARI) t=1; forprime(p=2, , ((t-1)%p==0)&&print1(p, ", "); t*=p)
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Jeppe Stig Nielsen, Feb 20 2021
STATUS
approved