OFFSET
1,2
COMMENTS
Subsequence of A000792.
Apparently a(n) = A052156(n - 1) for n >= 4. - Georg Fischer, Mar 26 2019
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (3).
FORMULA
From Colin Barker, Mar 26 2019: (Start)
G.f.: x*(1 - x - 6*x^3) / (1 - 3*x).
a(n) = 4*3^(n-3) for n>3.
a(n) = 3*a(n-1) for n>4.
(End)
PROG
(Haskell)
a202337 n = a202337_list !! (n-1)
a202337_list = f a062723_list where
f (x:xs'@(x':xs)) = if x == x' then f xs' else x : f xs'
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 17 2011
STATUS
approved