OFFSET
0,2
COMMENTS
Each term is a power of two, or three times a power of two.
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
Donald E. Knuth and Herbert S. Wilf, The power of a prime that divides a generalized binomial coefficient, J. Reine Angew. Math., 396:212-219, 1989.
Romeo Meštrović, Lucas' theorem: its generalizations, extensions and applications (1878--2014), arXiv preprint arXiv:1409.3820 [math.NT], 2014.
Diana L. Wells, The Fibonacci and Lucas triangles modulo 2, Fibonacci Quart. 32, no. 2 (1994), 111-123. (Theorem 2)
FORMULA
a(n) = (1 + (n mod 3)) * A001316([n/3]).
MATHEMATICA
A385457[n_] := (1 + Mod[n, 3])*2^DigitSum[Quotient[n, 3], 2];
Array[A385457, 100, 0] (* Paolo Xausa, Jul 03 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
David Radcliffe, Jun 29 2025
STATUS
approved
