A120181 a(1)=4; a(n)=floor((27+sum(a(1) to a(n-1)))/6).
4, 5, 6, 7, 8, 9, 11, 12, 14, 17, 20, 23, 27, 31, 36, 42, 49, 58, 67, 78, 91, 107, 124, 145, 169, 197, 230, 269, 313, 366, 427, 498, 581, 678, 791, 922, 1076, 1255, 1465, 1709
Offset: 1
Keywords
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
nxt[{t_,a_}]:=Module[{c=Floor[(27+t)/6]},{t+c,c}]; NestList[nxt,{4,4},40][[All,2]] (* Harvey P. Dale, Nov 08 2022 *)