OFFSET
1,1
LINKS
FORMULA
a(1)=3: a(2)=5: a(3)=6; for n>3, a(n)=n+4.
MATHEMATICA
LinearRecurrence[{2, -1}, {3, 5, 6, 8, 9}, 70] (* Harvey P. Dale, Dec 21 2018 *)
PROG
(PARI) a(n)=if(n>3, n+4, [3, 5, 6][n]) \\ Charles R Greathouse IV, Oct 27 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Nov 04 2007, Nov 05 2007
STATUS
approved