OFFSET
1,1
REFERENCES
George Berzsenyi, Quantum, Jan 01 1996.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Tanya Khovanova, Recursive Sequences
Problem of the week, Web site - problem 805
Index entries for linear recurrences with constant coefficients, signature (2,-1).
MAPLE
a := n-> n*1968751+533360;
MATHEMATICA
Table[1968751 n + 533360, {n, 0, 40}] (* Vincenzo Librandi, Jun 21 2013 *)
LinearRecurrence[{2, -1}, {533360, 2502111}, 20] (* Harvey P. Dale, Dec 03 2022 *)
PROG
(PARI) a(n)=1968751*n+533360 \\ Charles R Greathouse IV, Jun 21 2013
(Magma) [1968751*n+533360: n in [0..30]]; // Vincenzo Librandi, Jun 21 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stan Wagon, Ilan Vardi
STATUS
approved