A216176 Inner product of the Zeckendorf binary representation of n and its reverse.
1, 0, 0, 2, 0, 2, 0, 0, 2, 0, 1, 3, 0, 2, 0, 0, 2, 0, 2, 0, 0, 2, 0, 0, 2, 1, 3, 1, 0, 2, 0, 2, 4, 0, 2, 0, 0, 2, 0, 2, 0, 0, 2, 0, 0, 2, 0, 2, 0, 2, 4, 0, 2, 0, 0, 2, 0, 0, 2, 0, 2, 0, 1, 3, 1, 1, 3, 0, 2, 0, 0, 2, 2, 4, 2, 0, 2, 0, 2, 4, 0, 2, 0, 1, 3, 1
Offset: 1
Keywords
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A159780.
Programs
-
Haskell
a216176 n = sum $ zipWith (*) zs $ reverse zs where zs = a189920_row n
Comments