The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A151791 a(1)=1; for n > 1, a(n) = 7*6^(wt(n-1)-1). 6
1, 7, 7, 42, 7, 42, 42, 252, 7, 42, 42, 252, 42, 252, 252, 1512, 7, 42, 42, 252, 42, 252, 252, 1512, 42, 252, 252, 1512, 252, 1512, 1512, 9072, 7, 42, 42, 252, 42, 252, 252, 1512, 42, 252, 252, 1512, 252, 1512, 1512, 9072, 42, 252, 252, 1512, 252, 1512, 1512, 9072, 252 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
wt(n) is the Hamming weight = binary weight of n (A000120).
LINKS
EXAMPLE
From Omar E. Pol, Feb 26 2015: (Start)
Written as an irregular triangle in which the row lengths are the terms of A011782 the sequence begins:
1;
7;
7,42;
7,42,42,252;
7,42,42,252,42,252,252,1512;
7,42,42,252,42,252,252,1512,42,252,252,1512,252,1512,1512,9072;
7,42,42,252,42,252,252,1512,42,252,252,1512,252,1512,1512,9072,42,252,252,1512,252,1512,1512,9072,252,...
It appears that the right border gives A003949.
It appears that the row sums give A000420.
(End)
MATHEMATICA
a[n_] := 7*6^(Total@ IntegerDigits[n - 1, 2] - 1); a[1] = 1; Array[a, 57] (* Michael De Vlieger, Nov 01 2022 *)
CROSSREFS
Cf. A011782, A000120, A000420, A151792 (partial sums).
Sequence in context: A351477 A153721 A286985 * A022667 A143430 A219399
KEYWORD
nonn,tabf
AUTHOR
N. J. A. Sloane, Jun 25 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 8 16:02 EDT 2024. Contains 373224 sequences. (Running on oeis4.)