A260483 Beatty sequence for e^(1/Pi) = A179706.
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
Keywords
Examples
For n = 5, floor(5*e^(1/Pi)) = 6.
Links
- Karl V. Keller, Jr., Table of n, a(n) for n = 1..1000
- Eric Weisstein's World of Mathematics, Beatty Sequence
- Eric Weisstein's World of Mathematics, e
- Eric Weisstein's World of Mathematics, Pi
- Index entries for sequences related to Beatty sequences
Programs
-
Mathematica
Array[Floor[#*E^(1/Pi)] &, 62] (* Michael De Vlieger, Sep 28 2021 *)
-
PARI
vector(80, n, floor(n*exp(1/Pi))) \\ Michel Marcus, Aug 05 2015
-
Python
from sympy import E, pi, floor for n in range(1,101): print(floor(n*E**(1/pi)), end=', ')
Formula
a(n) = floor(n*e^(1/Pi)).
Comments