OFFSET
1,1
COMMENTS
Previous name was: 3 people at a party are saying Hello to each other. Person 3 says Hello Hello Hello. Person 1 counts the times Hello has been said and says Hello that number of times. Person 2 says Hello a number of times equal to 2 * the sum of Hello's said; then it is Person 3's turn again. Sequence gives the total number of Hello's said.
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 24).
FORMULA
From Harvey P. Dale, Jul 23 2011: (Start)
a(0)=3, a(1)=6, a(2)=18, a(n)=24*a(n-3).
G.f.: 3*(1+2*x+6 x^2)/(1-24*x^3). (End)
MATHEMATICA
LinearRecurrence[{0, 0, 24}, {3, 6, 18}, 50] (* Harvey P. Dale, Jul 23 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon Perry, Oct 15 2002
STATUS
approved