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!)
A284625 Positions of 2 in A284749. 4
3, 6, 7, 10, 13, 14, 17, 18, 21, 24, 25, 28, 31, 32, 35, 36, 39, 42, 43, 46, 47, 50, 53, 54, 57, 60, 61, 64, 65, 68, 71, 72, 75, 78, 79, 82, 83, 86, 89, 90, 93, 94, 97, 100, 101, 104, 107, 108, 111, 112, 115, 118, 119, 122, 123, 126, 129, 130, 133, 136, 137 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This sequence and A214971 and A284624 partition the positive integers into sequences with slopes t = (5+sqrt(5))/2, u = (5+sqrt(5))/2, v = sqrt(5), where 1/t + 1/u + 1/v = 1. The positions of 0 in A284749 are given by A214971, and of 1, by A284624.
LINKS
J.-P. Allouche, F. M. Dekking, Generalized Beatty sequences and complementary triples, arXiv:1809.03424v3 [math.NT], 2018-2019.
FORMULA
a(n) = 2*floor(n*phi) - n + 2 (Example 30 in Allouche and Dekking). - Michel Dekking, Oct 08 2018
a(n) = A050140(n)+2 - Michel Dekking, Oct 08 2018
EXAMPLE
As a word, A284749 = 012012201201220122..., in which 2 is in positions 3,6,7,10,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0}}] &, {0}, 13] (* A003849 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"001" -> "2"}]
st = ToCharacterCode[w1] - 48 (* A284749 *)
Flatten[Position[st, 0]] (* A214971 *)
Flatten[Position[st, 1]] (* A284624 *)
Flatten[Position[st, 2]] (* A284625 *)
CROSSREFS
Sequence in context: A096068 A045412 A288215 * A047281 A182909 A269903
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 02 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 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)