[go: up one dir, main page]

login
A195182
a(n) = 6*n - floor(2*n*e).
1
0, 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 8, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 15, 15, 16, 16, 17, 17, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 24, 24, 25, 25, 26, 26, 27, 28, 28, 29, 29, 30, 30, 31, 31, 32, 33, 33, 34, 34, 35, 35, 36, 37, 37, 38, 38, 39, 39, 40, 41
OFFSET
0,3
LINKS
MATHEMATICA
Table[6*n - Floor[2*n*E], {n, 0, 50}] (* G. C. Greubel, Nov 01 2017 *)
PROG
(PARI) for(n=0, 50, print1(6*n - floor(2*n*exp(1)), ", ")) \\ G. C. Greubel, Nov 01 2017
(Magma) [6*n - Floor(2*n*Exp(1)): n in [0..50]]; // G. C. Greubel, Nov 01 2017
CROSSREFS
Sequence in context: A348110 A100679 A226190 * A225875 A189688 A092982
KEYWORD
nonn
AUTHOR
Clark Kimberling, Sep 10 2011
STATUS
approved