2 ms·
FWIW, this is A034838 in The On-Line Encyclopedia of Integer Sequences - https://oeis.org/A034838 https://oeis.org/A034838 , which also has implementations in P
by eesmith 6y ago
FWIW, this is A034838 in The On-Line Encyclopedia of Integer Sequences - https://oeis.org/A034838 https://oeis.org/A034838 , which also has implementations in Python and other languages.