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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A317543 Positions of 1's in A317542, the formal inverse of the period-doubling sequence A096268. 2
1, 5, 7, 13, 17, 23, 29, 31, 37, 49, 55, 61, 65, 71, 77, 95, 101, 113, 119, 125, 127, 133, 145, 151, 157, 193, 199, 205, 223, 229, 241, 247, 253, 257, 263, 269, 287, 293, 305, 311, 317, 383, 389, 401, 407, 413, 449, 455, 461, 479, 485, 497, 503, 509, 511, 517, 529 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..56.

N. Rampersad and M. Stipulanti, The Formal Inverse of the Period-Doubling Sequence, arXiv preprint arXiv:1807.11899 [math.CO], 2018.

MATHEMATICA

a[0] = 1;

a[n_] :=

Module[{m, u, i},

  u[0] = 0; u[1] = 1; u[2] = 0; u[3] = 0;

  u[i_] := If[EvenQ[i], 0, If[IntegerQ[(i - 1)/4], u[2 ((i - 1)/4) - 1], u[(i - 3)/4]]];

  m = a[n - 1] + 1;

  While[u[m] == 0, m++];

  m

  ]

CROSSREFS

Cf. A096268, A317542, A317544.

Sequence in context: A216771 A216690 A095283 * A253297 A163385 A288449

Adjacent sequences:  A317540 A317541 A317542 * A317544 A317545 A317546

KEYWORD

nonn

AUTHOR

Manon Stipulanti, Jul 30 2018

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 October 22 22:34 EDT 2019. Contains 328335 sequences. (Running on oeis4.)