login
A393327
a(n) = (1/2)*n*(n+3)*(n+4).
1
0, 10, 30, 63, 112, 180, 270, 385, 528, 702, 910, 1155, 1440, 1768, 2142, 2565, 3040, 3570, 4158, 4807, 5520, 6300, 7150, 8073, 9072, 10150, 11310, 12555, 13888, 15312, 16830, 18445, 20160, 21978, 23902, 25935, 28080, 30340, 32718, 35217, 37840, 40590, 43470, 46483, 49632, 52920, 56350
OFFSET
0,2
COMMENTS
a(n) is the sum of the smallest n+3 multiples of n. For example, a(4) = 112 since 112 = 4 + 8 + 12 + 16 + 20 + 24 + 28.
a(n) = row sum of the n+4 row in the triangular view of A001477 (excluding the last 4 entries) - T(n-1), where T(n) is the n-th triangular number. For example, a(2) = 15 + 16 - T(1) = 31 - 1 = 30; a(4) = 28 + 29 + 30 + 31 - T(3) = 118 - 6 = 112.
a(n)*binomial(n+2,2) is the number of strings of length n+4 defined on {0,1,2,3} that contain exactly two 0's, exactly two 1's, exactly one 2 and any number of 3's (see Examples).
FORMULA
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4).
a(n) = n*A000217(n+3).
a(n) - a(n-1) = A140229(n+2), n >= 1.
G.f.: x*(10 - 10*x + 3*x^2)/(1-x)^4.
E.g.f.: exp(x)*x*(20 + 10*x + x^2)/2. - Stefano Spezia, Feb 12 2026
From Amiram Eldar, Mar 01 2026: (Start)
Sum_{n>=1} 1/a(n) = 13/72.
Sum_{n>=1} (-1)^(n+1)/a(n) = 4*log(2)/3 - 61/72. (End)
EXAMPLE
For n=1, a(1)*binomial(3,2) = 10*3 is the number of strings of length 5 described in the comment since there are 30 permutations of the string 00112.
For n=4, a(4)*binomial(6,2) = 112*15 is the number of strings of length 8 since there are 1680 permutations of the string 00112333.
MATHEMATICA
A393327[n_] := n*(n+3)*(n+4)/2; Array[A393327, 50, 0] (* or *)
LinearRecurrence[{4, -6, 4, -1}, {0, 10, 30, 63}, 50] (* Paolo Xausa, Feb 23 2026 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Enrique Navarrete, Feb 11 2026
STATUS
approved