OFFSET
0,2
COMMENTS
A cell is colored white if the binary digit is 0 and a cell is colored black if the binary digit is 1. A biased rook on a white cell moves to the left to any cell or to the right only to a black cell. A biased rook on a black cell moves in any direction.
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..10000
Jon Maiga, Computer-generated formulas for A344902, Sequence Machine.
FORMULA
a(2n) = (1 + A000120(n))*a(n) for n > 0 with a(0)=1.
From Mikhail Kurkov, Oct 16 2021: (Start)
MATHEMATICA
a[n_] := With[{s = DigitCount[n, 2]}, s[[1]]! * (1 + s[[1]])^(1 + s[[2]])]; a[0] = 1; Array[a, 50, 0] (* Amiram Eldar, Aug 03 2023 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Mikhail Kurkov, Jun 01 2021 [verification needed]
STATUS
approved