OFFSET
1,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
Melvyn B. Nathanson, On the fractional parts of roots of positive real numbers, Amer. Math. Monthly, 120 (2013), 409-429 [see p. 417].
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,1,-1).
FORMULA
a(n) = a(n-5)+7. O.g.f.: x^2*(2+x+2*x^2+x^3+x^4)/((-1+x)^2*(x^4+x^3+x^2+x+1)). - R. J. Mathar, Apr 19 2008
a(n) = floor((7*n-3)/5). - Jason Yuen, May 27 2025
MATHEMATICA
Floor[(7*Range[100] - 3)/5] (* Paolo Xausa, May 29 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
