login
A018244
A self-generating sequence: there are a(n) (k+1)'s between successive k's, where k=3.
2
3, 4, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4
OFFSET
1,1
MAPLE
k := 3; A018244 := proc(n) global k; floor(n*(k+sqrt(k^2+4*k))/2)-floor((n-1)*(k+sqrt(k^2+4*k))/2); end;
CROSSREFS
Sequence in context: A143490 A007485 A280356 * A113311 A255176 A288177
KEYWORD
nonn
STATUS
approved