OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
PROG
(PARI) is(n)=numdiv(n)==22 && numdiv(n+1)==22
(PARI) list(lim)=my(v=List(), t); forprime(p=2, sqrtnint(lim\=1, 21), t=p^21; if(numdiv(t+1)==22, listput(v, t)); if(numdiv(t-1)==22, listput(v, t-1))); forprime(p=3, sqrtnint(lim\3, 10), my(p10=p^10); forprime(q=3, lim\p10, if(p==q, next); t=p10*q; if(numdiv(t+1)==22, listput(v, t)); if(numdiv(t-1)==22, listput(v, t-1)))); Set(v)
CROSSREFS
KEYWORD
nonn
AUTHOR
Charles R Greathouse IV, Jun 19 2016
STATUS
approved