login
A090169
a(n) = floor( 3*n/2 ) + floor( 2*n/3 ).
1
0, 1, 4, 6, 8, 10, 13, 14, 17, 19, 21, 23, 26, 27, 30, 32, 34, 36, 39, 40, 43, 45, 47, 49, 52, 53, 56, 58, 60, 62, 65, 66, 69, 71, 73, 75, 78, 79, 82, 84, 86, 88, 91, 92, 95, 97, 99, 101, 104, 105, 108, 110, 112, 114, 117, 118, 121, 123, 125, 127, 130, 131, 134, 136, 138
OFFSET
0,3
FORMULA
G.f.: x*(1 + 4*x + 5*x^2 + 3*x^3)/((1 - x)^2*(1 + 2*x + 2*x^2 + x^3)). - Bruno Berselli, Jun 30 2014
a(n) = 2*n - 1 + floor(n/2) - floor((n-1)/3). - Bruno Berselli, Jun 15 2016
MATHEMATICA
Table[Floor[3 n/2] + Floor[2 n/3], {n, 0, 70}] (* Bruno Berselli, Jun 30 2014 *)
LinearRecurrence[{0, 1, 1, 0, -1}, {0, 1, 4, 6, 8}, 80] (* Harvey P. Dale, Sep 06 2022 *)
CROSSREFS
Cf. A090168.
Sequence in context: A225506 A073669 A073670 * A190330 A186291 A189473
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Nov 23 2003
STATUS
approved