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!)
A283778 Numbers k such that floor(k*e) is odd. 2
2, 5, 7, 8, 10, 11, 13, 16, 19, 21, 22, 24, 25, 27, 30, 33, 35, 36, 38, 41, 44, 46, 47, 49, 50, 52, 55, 58, 60, 61, 63, 64, 66, 69, 72, 74, 75, 77, 80, 83, 85, 86, 88, 89, 91, 94, 97, 99, 100, 102, 103, 105, 108, 110, 111, 113, 114, 116, 119, 122, 124, 125 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Complement of A283777.
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==1, 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==1]) # Indranil Ghosh, Mar 21 2017
CROSSREFS
Sequence in context: A050086 A285352 A233745 * A028782 A025505 A285413
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 July 14 22:52 EDT 2024. Contains 374323 sequences. (Running on oeis4.)