[go: up one dir, main page]

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!)
A359317 a(n) is the smallest tetrahedral number with binary weight n. 1
0, 1, 10, 35, 120, 220, 455, 2024, 1771, 4060, 14190, 16215, 129766, 32509, 1414910, 1823471, 5159805, 8171255, 4192244, 24117100, 30865405, 334985911, 192937325, 1610599145, 1048440315, 4261347265, 4244012991, 63828916911, 213588635511, 133110357279 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Eric Weisstein's World of Mathematics, Tetrahedral Number
EXAMPLE
455 is the smallest tetrahedral number with binary weight 6 (455_10 = 111000111_2), so a(6) = 455.
MATHEMATICA
seq[len_, nmax_] := Module[{s = Table[0, {len}], n = 0, c = 0, bw, t}, While[c < len && n < nmax, bw = DigitCount[t = n*(n+1)*(n+2)/6, 2, 1] + 1; If[bw <= len && s[[bw]] == 0, c++; s[[bw]] = t]; n++]; s]; seq[30, 10^6] (* Amiram Eldar, Dec 26 2022 *)
CROSSREFS
Sequence in context: A049736 A048507 A240267 * A221907 A195269 A070755
KEYWORD
nonn,base
AUTHOR
Ilya Gutkovskiy, Dec 25 2022
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 August 30 00:57 EDT 2024. Contains 375520 sequences. (Running on oeis4.)