OFFSET
1,2
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
FORMULA
a(p) = A027423(p-1) + 1 for any prime number p. - Rémy Sigrist, Nov 08 2018
PROG
(PARI) {m=31; v=[]; for(n=1, m, v=concat(v, vecsort(eval(setminus(Set(divisors(n!)), Set(v)))))); z=100; u=vector(z); for(j=1, #v, if(v[j]<=z, u[v[j]]=j)); i=1; while(u[i]>0, print1(u[i], ", "); i++)} \\ Klaus Brockhaus, Aug 16 2006
(PARI) a(n) = my (ff=1, f=1); for (i=1, oo, f*=i; if (f%n==0, return (numdiv(ff) + sum(j=1, n, ff%j!=0 && f%j == 0))); ff=f) \\ Rémy Sigrist, Nov 08 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jun 08 2006
EXTENSIONS
a(11) to a(36) from Klaus Brockhaus, Aug 16 2006
More terms from Rémy Sigrist, Nov 08 2018
STATUS
approved