editing
approved
editing
approved
N. J. A. Sloane, Coordination Sequences, Planing Numbers, and Other Recent Sequences (II), Experimental Mathematics Seminar, Rutgers University, Jan 31 2019, <a href="https://vimeo.com/314786942">Part I</a>, <a href="https://vimeo.com/314790822">Part 2</a>, <a href="https://oeis.org/A320487/a320487.pdf">Slides.</a> (Mentions this sequence)
approved
editing
proposed
approved
editing
proposed
from re import split
proposed
editing
editing
proposed
return -1 if s == '' else int(s, 2) # Chai Wah Wu, Sep 24 2018
(Python)
def A319419(n):
s = ''.join(d[:-1] for d in split('(0+)|(1+)', bin(n)[2:]) if d not in {'', '0', '1', None})
return -1 if s == '' else int(s, 2) # Chai Wah Wu, Sep 24 2018
approved
editing
editing
approved