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!)
A283776 Numbers k such that floor(k*sqrt(3)) is odd. 2
1, 2, 3, 8, 9, 10, 11, 15, 16, 17, 18, 23, 24, 25, 26, 30, 31, 32, 33, 38, 39, 40, 41, 45, 46, 47, 48, 53, 54, 55, 60, 61, 62, 63, 68, 69, 70, 75, 76, 77, 78, 83, 84, 85, 90, 91, 92, 93, 98, 99, 100, 105, 106, 107, 108, 112, 113, 114, 115, 120, 121, 122, 123 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Complement of A283775.
LINKS
FORMULA
a(n+1) - a(n) is in {1,4,5} for every n.
MATHEMATICA
r = Sqrt[3]; z = 350; t = Table[Floor[n*r], {n, 1, z}]; u = Mod[t, 2];
Flatten[Position[u, 0]] (* A283775 *)
Flatten[Position[u, 1]] (* A283776 *)
Select[Range[200], OddQ[Floor[# Sqrt[3]]]&] (* Harvey P. Dale, Nov 20 2020 *)
PROG
(PARI) for(n=1, 125, if(floor(n*sqrt(3))%2==1, print1(n, ", "))) \\ Indranil Ghosh, Mar 21 2017
(Python)
import math
from sympy import sqrt
print([n for n in range(1, 126) if int(math.floor(n*sqrt(3)))%2==1]) # Indranil Ghosh, Mar 21 2017
CROSSREFS
Sequence in context: A053754 A353652 A080745 * A047476 A347397 A037462
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 17 22:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)