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.

A276190 Sum of the squares of the digits of the base-4 representation of n.

This page as a plain text file.
%I A276190 #10 Jun 26 2022 18:18:56
%S A276190 0,1,4,9,1,2,5,10,4,5,8,13,9,10,13,18,1,2,5,10,2,3,6,11,5,6,9,14,10,
%T A276190 11,14,19,4,5,8,13,5,6,9,14,8,9,12,17,13,14,17,22,9,10,13,18,10,11,14,
%U A276190 19,13,14,17,22,18,19,22,27,1,2,5,10,2,3,6,11,5,6,9,14,10,11,14,19,2
%N A276190 Sum of the squares of the digits of the base-4 representation of n.
%p A276190 A276190 := proc(n)
%p A276190     local d ;
%p A276190     add(d^2, d= convert(n, base, 4) );
%p A276190 end proc:
%t A276190 Table[Total[IntegerDigits[n,4]^2 ],{n,0,80}] (* _Harvey P. Dale_, Jun 26 2022 *)
%Y A276190 Cf. A000120 (base 2), A006287 (base 3), A276191 (base 5).
%K A276190 nonn,base,easy
%O A276190 0,3
%A A276190 _R. J. Mathar_, Aug 24 2016