[go: up one dir, main page]

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!)
A338691 Positions of (-1)'s in A209615. 6
2, 3, 7, 8, 10, 11, 12, 15, 18, 19, 23, 26, 27, 28, 31, 32, 34, 35, 39, 40, 42, 43, 44, 47, 48, 50, 51, 55, 58, 59, 60, 63, 66, 67, 71, 72, 74, 75, 76, 79, 82, 83, 87, 90, 91, 92, 95, 98, 99, 103, 104, 106, 107, 108, 111, 112, 114, 115, 119, 122, 123, 124, 127, 128 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Also positions of 2's and 3's in A003324.
Also positions of 1's in A292077. - Jianing Song, Nov 27 2021
Numbers of the form (2*k+1) * 2^e where k+e is odd. In other words, union of {(4*m+1) * 2^(2t+1)} and {(4*m+3) * 2^(2t)}, where m >= 0, t >= 0.
Numbers whose quaternary (base-4) expansion ends in 300...00 or 0200..00 or 2200..00. Trailing 0's are not necessary.
There are precisely 2^(N-1) terms <= 2^N for every N >= 1.
Equals A004767 Union A343500.
Complement of A338692. - Jianing Song, Apr 26 2021
LINKS
Kevin Ryde, Iterations of the Alternate Paperfolding Curve, see index "TurnRight" with a(n) = TurnRight(n-1).
FORMULA
a(n) = A343501(n)/2. - Jianing Song, Apr 26 2021
EXAMPLE
15 is a term since it is in the family {(4*m+3) * 2^(2t)} with m = 3, t = 0.
18 is a term since it is in the family {(4*m+1) * 2^(2t+1)} with m = 2, t = 0.
PROG
(PARI) isA338691(n) = my(e=valuation(n, 2), k=bittest(n, e+1)); (k+e)%2
CROSSREFS
Cf. A209615, A338692 (positions of 1's), A004767 (the odd terms), A343500 (the even terms), A003324, A292077, A343501.
Sequence in context: A105266 A246448 A054996 * A129341 A115985 A131210
KEYWORD
nonn,easy
AUTHOR
Jianing Song, Apr 24 2021
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 August 29 18:55 EDT 2024. Contains 375518 sequences. (Running on oeis4.)