OFFSET
0,2
LINKS
Ivan Panchenko, Table of n, a(n) for n = 0..200
Tanya Khovanova, Recursive Sequences
Michael Penn, Divisibility by 17: The Lesser Known Rule, YouTube video, 2023.
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 329
Index entries for linear recurrences with constant coefficients, signature (2, -1).
FORMULA
(floor(a(n)/10) - 5*(a(n) mod 10)) == 0 (mod 17), see A076311. - Reinhard Zumkeller, Oct 06 2002
From Vincenzo Librandi, Dec 24 2010: (Start)
a(n) = 17*n = 2*a(n-1) - a(n-2).
G.f.: 17x/(x-1)^2. (End)
MATHEMATICA
Range[0, 1003, 17] (* Vladimir Joseph Stephan Orlovsky, Jun 01 2011 *)
PROG
(PARI) a(n)=17*n \\ Charles R Greathouse IV, Oct 07 2015
(Scala) for (n <- 0 to 1003 by 17) print(n + ", ") // Alonso del Arte, Jun 17 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved