OFFSET
1,3
FORMULA
G.f.: x^2*Product_{i>=0} p(x^(2^i)) where p(x) = 1 + 5*x + 7*x^2 + 3*x^3. - Gary W. Adamson, Aug 25 2016 [edited by Jason Yuen, Oct 06 2024]
PROG
(PARI) a(n)=sum(i=0, n-1, (n-i)*3^hammingweight(i)) \\ Charles R Greathouse IV, Aug 25 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Jun 14 2009
EXTENSIONS
More terms from Max Alekseyev, Dec 12 2011
STATUS
approved