login
A356469
a(n) = [(n + 1)/(1 - 1/r)] - [n - n/r] where r = sqrt(2) and [] denotes the floor function.
0
3, 6, 10, 13, 16, 19, 22, 25, 28, 32, 35, 37, 41, 44, 47, 50, 54, 57, 59, 63, 66, 69, 72, 75, 78, 81, 85, 88, 91, 94, 97, 100, 103, 107, 110, 112, 116, 119, 122, 125, 128, 131, 134, 138, 141, 144, 147, 150, 153, 156, 160, 163, 165, 169, 172, 175, 178, 182, 185
OFFSET
0,1
FORMULA
a(n) = [(n + 1)/(1 - 1/r) - [n - n/r]] with r and [] as in the name.
MAPLE
a := n -> floor((n + 1)/(1 - 1/r)) - floor(n - n/r): seq(a(n), n = 0..58);
CROSSREFS
Cf. A285684.
Sequence in context: A117549 A190767 A310050 * A028433 A310051 A353093
KEYWORD
nonn
AUTHOR
Peter Luschny, Aug 31 2022
STATUS
approved