OFFSET
1,1
LINKS
Daniel Suteu and Donovan Johnson, Table of n, a(n) for n = 1..5323 (terms 1..1000 from Donovan Johnson)
EXAMPLE
A006972(5453) = 199195047359 = 7*11*17*19*23*31*47*239.
PROG
(PARI) upto(n, k=8) = my(A = vecprod(primes(k)), B=n); (f(m, l, p, k, u=0, v=0) = my(list=List()); if(k==1, forprime(p=u, v, my(t=m*p); if((t+1)%l == 0 && (t+1)%(p+1) == 0, listput(list, t))), my(s = sqrtnint(B\m, k)); forprime(q = p, s, my(t = m*q); my(L=lcm(l, q+1)); if(gcd(L, t) == 1, my(u=ceil(A/t), v=B\t); if(u <= v, my(r=nextprime(q+1)); if(k==2 && r>u, u=r); list=concat(list, f(t, L, r, k-1, u, v)))))); list); vecsort(Vec(f(1, 1, 3, k))); \\ Daniel Suteu, Aug 29 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Donovan Johnson, Sep 26 2012
STATUS
approved