login
A030425
(# 2's)-(# 3's) in first n terms of A030413.
0
0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 2, 1, 1, 0, 0, 0, 1, 1, 2, 2, 2, 2, 1, 2, 3, 3, 3, 3, 2, 3, 3, 4, 4, 5, 5, 6, 5, 4, 4, 5, 4, 4, 5, 5, 4, 3, 3, 4, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 8, 8, 9, 8, 8, 9, 10, 11, 10, 10, 10, 11, 11, 11, 11, 11, 11, 12
OFFSET
1,15
MATHEMATICA
Accumulate[Rest[Flatten[IntegerDigits[#, 4]&/@Fibonacci[Range[30]]]]/.{2->1, 3->-1, 1->0}] (* Harvey P. Dale, Dec 16 2022 *)
CROSSREFS
Sequence in context: A243753 A219238 A025918 * A340391 A076879 A225230
KEYWORD
nonn
STATUS
approved