login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A286748 Characteristic sequence of the Beatty sequence, A194028, of sqrt(12). 2
0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1

COMMENTS

The positions of 0 are given by A286428, and of 1, by A194028.

LINKS

Clark Kimberling, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = 1- floor((n+1)/(1-1/r) - floor(n(1-1/r)), where r = sqrt(12).

MATHEMATICA

r = Sqrt[12];

s = 1 - Table[Floor[(n + 1) (1 - 1/r) - Floor[n (1 - 1/r)]], {n, 1, 200}] (* A286748 *)

Flatten[Position[s, 0]] (* A286428 *)

Flatten[Position[s, 1]] (* A194028 *)

CROSSREFS

Cf. A194028, A286428.

Sequence in context: A182581 A288203 A238470 * A289001 A171588 A289035

Adjacent sequences:  A286745 A286746 A286747 * A286749 A286750 A286751

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, May 15 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 19 03:54 EDT 2019. Contains 325144 sequences. (Running on oeis4.)