cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A379835 Number of 1's in binary expansion of Lucas(n).

This page as a plain text file.
%I A379835 #14 Jan 14 2025 22:23:51
%S A379835 1,1,2,1,3,3,2,4,5,3,6,5,3,3,6,5,7,9,6,5,9,10,9,11,6,9,7,10,15,11,10,
%T A379835 15,13,11,11,15,15,12,15,17,15,11,14,15,20,15,18,17,13,11,22,20,23,23,
%U A379835 19,22,22,22,28,25,23,19,25,27,27,24,26,25,23,27,23,27
%N A379835 Number of 1's in binary expansion of Lucas(n).
%F A379835 a(n) = A000120(A000032(n)).
%e A379835 a(10) = 6 because Lucas(10) = 123 is 1111011_2, which has 6 one bits.
%t A379835 Table[DigitCount[LucasL[n],2][[1]],{n,0,200}]
%o A379835 (Magma) [&+Intseq(Lucas(n), 2): n in [0..100]];
%Y A379835 Cf. A000032, A000120, A011373.
%K A379835 nonn,base
%O A379835 0,3
%A A379835 _Vincenzo Librandi_, Jan 05 2025