OFFSET
0,2
COMMENTS
This sequence is well defined and infinite:
- let (b_1, ..., b_k) be the binary representation of n,
- let r_1 = 1, and for i = 1..k-1: r_{i+1} = r_i if b_{i+1} = b_i and r_{i+1} = 2 - r_i otherwise,
- the number m whose run lengths in binary representation are (r_1, ..., r_k) satisfies A318928(m) = 1 + A318928(n).
a(11) <= 42414573279593.
Here A318928(1) is considered to be 0, which differs from the current definition of A318928. However, I think it is quite natural to define A318928(1) to be 0. - Hiroaki Yamanouchi, Sep 22 2018
LINKS
Rémy Sigrist, PARI program for A319103
EXAMPLE
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Rémy Sigrist, Sep 10 2018
EXTENSIONS
a(11)-a(12) from Hiroaki Yamanouchi, Sep 22 2018
STATUS
approved