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.

A151789 a(1)=1; for n > 1, a(n)=5*4^{wt(n-1)-1}.

This page as a plain text file.
%I A151789 #7 Aug 23 2025 17:59:13
%S A151789 1,5,5,20,5,20,20,80,5,20,20,80,20,80,80,320,5,20,20,80,20,80,80,320,
%T A151789 20,80,80,320,80,320,320,1280,5,20,20,80,20,80,80,320,20,80,80,320,80,
%U A151789 320,320,1280,20,80,80,320,80,320,320,1280,80,320,320,1280,320,1280,1280,5120
%N A151789 a(1)=1; for n > 1, a(n)=5*4^{wt(n-1)-1}.
%C A151789 wt(n) is the Hamming weight = binary weight of n (A000120).
%t A151789 nxt[{n_,a_}]:={n+1,5*4^(Total[IntegerDigits[n,2]]-1)}; NestList[nxt,{1,1},70][[;;,2]] (* _Harvey P. Dale_, Aug 23 2025 *)
%Y A151789 Cf. A000120.
%K A151789 nonn
%O A151789 1,2
%A A151789 _N. J. A. Sloane_, Jun 25 2009