OFFSET
1,1
FORMULA
a(n) = n-th element of the set {x>0 : there exists a k with 0<k<x and d(k)=d(x)}, where d=A000005 is the number of divisors.
EXAMPLE
This sequence contains 8 because 8 has |{1,2,4,8}|=4 divisors and 6<8 has |{1,2,3,6}|=4 divisors.
MATHEMATICA
Clear[tmp]; Function[n, If[Head[ #1] === tmp, #1 = n; Unevaluated[Sequence[]], n] & [tmp[DivisorSigma[0, n]]]] /@ Range[64]
PROG
(PARI) isok(n) = {my(nd = numdiv(n)); for (k=1, n-1, if (numdiv(k) == nd, return (1)); ); }
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Peter Pein (petsie(AT)dordos.net), Jul 26 2007
EXTENSIONS
a(54)-a(67) from Michel Marcus, Apr 03 2015
Edited by Danny Rorabaugh, Apr 03 2015
STATUS
approved