OFFSET
1,1
COMMENTS
Alternative definition: numbers m such that (13*m+1)/15 is an integer.
The previous comment is the case t=0 of ((13-t*(t+1))*m + t*(t+1)/2 + 1)/15, where t = 0, 1, 2 or 3. - Bruno Berselli, Feb 22 2016
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
G.f.: x*(8+7*x)/(x-1)^2.
E.g.f.: 7 + (15*x - 7)*exp(x). - G. C. Greubel, Sep 12 2017
MATHEMATICA
Range[8, 1000, 15] (* Vladimir Joseph Stephan Orlovsky, May 31 2011 *)
LinearRecurrence[{2, -1}, {8, 23}, 60] (* Harvey P. Dale, Dec 25 2016 *)
PROG
(PARI) x='x+O('x^50); Vec(x*(8+7*x)/(x-1)^2) \\ G. C. Greubel, Sep 12 2017
(Python)
def a(n): return 15*n - 7
print([a(n) for n in range(1, 54)]) # Michael S. Branicky, Aug 23 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Aug 12 2009
EXTENSIONS
Definition simplified by R. J. Mathar, Aug 21 2009
STATUS
approved