OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,-1,0,0,0,0,0,1,-2,1).
FORMULA
a(n) = n-1+ceiling(n^2/16).
a(n) = +2*a(n-1) -a(n-2) +a(n-8) -2*a(n-9) +a(n-10). - R. J. Mathar, Mar 11 2012
MATHEMATICA
a=16; b=0;
Table[n+Floor[(a*n+b)^(1/2)], {n, 100}] (* A184102 *)
Table[n-1+Ceiling[(n^2-b)/a], {n, 80}] (* A184103 *)
LinearRecurrence[{2, -1, 0, 0, 0, 0, 0, 1, -2, 1}, {1, 2, 3, 4, 6, 8, 10, 11, 14, 16}, 80] (* Harvey P. Dale, Jul 05 2019 *)
PROG
(PARI) a(n) = n-1+ceil(n^2/16); \\ Michel Marcus, Jul 13 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jan 09 2011
EXTENSIONS
Name and formula corrected by Michel Marcus, Jul 13 2022
STATUS
approved