OFFSET
0,1
COMMENTS
An easy description is: starting from a(0)=22, a(n)=number of integers to be skipped to get a(n+1); i.e., from a(0)=22, skip 22 integers to get a(1)=45; then skip 45 integers to get a(2)=91, etc.
LINKS
FORMULA
From Chai Wah Wu, Mar 04 2018: (Start)
a(n) = 3*a(n-1) - 2*a(n-2) for n > 1.
G.f.: (22 - 21*x)/((1 - x)*(1 - 2*x)). (End)
MAPLE
MATHEMATICA
23*2^Range[0, 40]-1 (* or *) LinearRecurrence[{3, -2}, {22, 45}, 40] (* Harvey P. Dale, Jul 20 2018 *)
PROG
(PARI) a(n) = 23*2^n - 1; \\ Altug Alkan, Mar 04 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Enrique Navarrete, Aug 26 2017
STATUS
approved