OFFSET
1,1
REFERENCES
V. S. Shevelev, Multiplicative functions in the Fermi-Dirac arithmetic, Izvestia Vuzov of the North-Caucasus region, Nature sciences 4 (1996), 28-43 (Russian; MR 2000f: 11097, pp. 3912-3913).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..500
S. Litsyn and V. S. Shevelev, On factorization of integers with restrictions on the exponent, INTEGERS: Electronic Journal of Combinatorial Number Theory, 7 (2007), #A33, 1-36.
EXAMPLE
Factorization of 5! over distinct terms of A050376 is 5! = 2*3*4*5. Thus 5 is the smallest k such that such a factorization contains 3 primes: 2,3,5. So a(3)=5.
MATHEMATICA
f[p_, e_] := Mod[e, 2]; b[1] = 0; b[n_] := Plus @@ (f @@@ FactorInteger[n]); m = 56; v = Table[0, {m}]; c = 0; p = 1; n = 2; While[c < m, p *= n; i = b[p]; If[i <= m && v[[i]] == 0, c++; v[[i]] = n]; n++]; v (* Amiram Eldar, Sep 17 2019 *)
PROG
(PARI) nbp(n) = {f = factor(n); sum (i=1, #f~, f[i, 2] % 2); }
a(n) = {k = 1; while(nbp(k!) != n, k++); k; } \\ Michel Marcus, Apr 27 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Apr 16 2014
EXTENSIONS
More terms from Peter J. C. Moses, Apr 17 2014
STATUS
approved