OFFSET
1,5
LINKS
Dorin Andrica and Eugen J. Ionascu, On the number of polynomials with coefficients in [n], An. St. Univ. Ovidius Constanta, Vol. 22(1),2014, 13-23.
FORMULA
a(n) = Sum_{k=1..n} floor(n/k)*A238097(k).
PROG
(PARI) f(n) = if( n<1, 0, sum(a1=1, n, sum(a2=1, n, sum(a3=1, n, vecmax([a1, a2, a3]) == n && vecsum( factor( Pol([1, a1, a2, a3]))[, 2]) == 3)))); \\ A238097
a(n) = sum(k=1, n, (n\k)*f(k));
lista(nn) = my(v = vector(nn, k, f(k))); vector(nn, i, sum(k=1, i, (i\k)*v[k])); \\ Michel Marcus, Sep 28 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 22 2014
STATUS
approved