OFFSET
0,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
MATHEMATICA
a[n_] := DigitCount[3*n + 1, 2, 1] - 1; Array[a, 100, 0] (* Amiram Eldar, Aug 01 2023 *)
PROG
(Haskell)
a240883 n = a240857 (2 * n) n
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 14 2014
STATUS
approved