login
A249243
Floor(1/((1 + 1/n)^(n + 1)) - e).
3
0, 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9, 10, 11, 11, 12, 13, 14, 14, 15, 16, 16, 17, 18, 19, 19, 20, 21, 22, 22, 23, 24, 25, 25, 26, 27, 28, 28, 29, 30, 30, 31, 32, 33, 33, 34, 35, 36, 36, 37, 38, 39, 39, 40, 41, 41, 42, 43, 44, 44, 45, 46, 47, 47, 48, 49, 50
OFFSET
1,3
COMMENTS
a(n+1) - a(n) is in {0,1} for n >= 0.
LINKS
MATHEMATICA
u = Floor[Table[1/((1 + 1/n)^(n + 1) - E), {n, 1, 1000}]]; (* A249243 *)
d = Differences[u]
Flatten[Position[d, 0]] (* A249244 *)
Flatten[Position[d, 1]] (* A249245 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 23 2014
STATUS
approved