[go: up one dir, main page]

login
A017053
a(n) = 7*n + 6.
15
6, 13, 20, 27, 34, 41, 48, 55, 62, 69, 76, 83, 90, 97, 104, 111, 118, 125, 132, 139, 146, 153, 160, 167, 174, 181, 188, 195, 202, 209, 216, 223, 230, 237, 244, 251, 258, 265, 272, 279, 286, 293, 300, 307, 314, 321, 328, 335, 342, 349, 356, 363, 370, 377, 384
OFFSET
0,1
FORMULA
a(n) = 2*a(n-1) - a(n-2). - Wesley Ivan Hurt, Mar 17 2023
G.f.: (6+x)/(1-x)^2. - Wesley Ivan Hurt, Dec 28 2023
MATHEMATICA
Array[7*#+6&, 100, 0] (* Vladimir Joseph Stephan Orlovsky, Dec 14 2009 *)
LinearRecurrence[{2, -1}, {6, 13}, 60] (* Harvey P. Dale, Apr 13 2022 *)
PROG
(Magma) [7*n + 6: n in [0..60]]; // Vincenzo Librandi, Jun 18 2011
(PARI) a(n)=7*n+6 \\ Charles R Greathouse IV, Jul 10 2016
CROSSREFS
KEYWORD
nonn,easy
STATUS
approved