login
A260483
Beatty sequence for e^(1/Pi) = A179706.
2
1, 2, 4, 5, 6, 8, 9, 10, 12, 13, 15, 16, 17, 19, 20, 21, 23, 24, 26, 27, 28, 30, 31, 32, 34, 35, 37, 38, 39, 41, 42, 43, 45, 46, 48, 49, 50, 52, 53, 54, 56, 57, 59, 60, 61, 63, 64, 65, 67, 68, 70, 71, 72, 74, 75, 76, 78, 79, 81, 82, 83, 85
OFFSET
1,2
COMMENTS
The initial 634 terms are the same as the formula: a(n) = floor((11*n - 1) / 8). - Simon Strandgaard, Sep 24 2021
LINKS
Eric Weisstein's World of Mathematics, Beatty Sequence
Eric Weisstein's World of Mathematics, e
Eric Weisstein's World of Mathematics, Pi
FORMULA
a(n) = floor(n*e^(1/Pi)).
EXAMPLE
For n = 5, floor(5*e^(1/Pi)) = 6.
MATHEMATICA
Array[Floor[#*E^(1/Pi)] &, 62] (* Michael De Vlieger, Sep 28 2021 *)
PROG
(Python)
from sympy import E, pi, floor
for n in range(1, 101): print(floor(n*E**(1/pi)), end=', ')
(PARI) vector(80, n, floor(n*exp(1/Pi))) \\ Michel Marcus, Aug 05 2015
CROSSREFS
Cf. A179706 (e^(1/Pi)), A260484 (complement).
Sequence in context: A059567 A006594 A172276 * A143028 A277018 A277008
KEYWORD
nonn
AUTHOR
Karl V. Keller, Jr., Jul 26 2015
STATUS
approved