login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A283777 Numbers k such that floor(k*e) is even. 2
1, 3, 4, 6, 9, 12, 14, 15, 17, 18, 20, 23, 26, 28, 29, 31, 32, 34, 37, 39, 40, 42, 43, 45, 48, 51, 53, 54, 56, 57, 59, 62, 65, 67, 68, 70, 71, 73, 76, 78, 79, 81, 82, 84, 87, 90, 92, 93, 95, 96, 98, 101, 104, 106, 107, 109, 112, 115, 117, 118, 120, 121, 123 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Complement of A283778.
LINKS
FORMULA
a(n+1) - a(n) is in {1,2,3} for every n.
MATHEMATICA
r = E; z = 350; t = Table[Floor[n*r], {n, 1, z}]; u = Mod[t, 2];
Flatten[Position[u, 0]] (* A283777 *)
Flatten[Position[u, 1]] (* A283778 *)
PROG
(PARI) for(n=1, 125, if(floor(n*exp(1))%2==0, print1(n, ", "))) \\ Indranil Ghosh, Mar 21 2017
(Python)
from mpmath import *
import math
mp.dps = 100
print([n for n in range(1, 126) if int(math.floor(n*e))%2==0]) # Indranil Ghosh, Mar 21 2017
CROSSREFS
Sequence in context: A191287 A353983 A260109 * A202171 A182531 A097922
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Mar 19 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 13:53 EDT 2024. Contains 371958 sequences. (Running on oeis4.)