A165734 Period 2: repeat 6,30.
6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30, 6, 30
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (0,1).
Programs
-
Mathematica
PadRight[{},120,{6,30}] (* Harvey P. Dale, Jun 03 2019 *)
-
PARI
a(n)=30-n%2*24 \\ Charles R Greathouse IV, Jun 02 2011
Formula
From Philippe Deléham, Sep 27 2009: (Start)
G.f.: 6x(1+5x)/((1-x)(1+x)).
a(n) = 6*A010686(n-1). (End)
Extensions
Edited by N. J. A. Sloane, Sep 25 2009
Comments