The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A359092 a(n) is the index of the smallest n-gonal pyramidal number with binary weight n. 1
 5, 4, 9, 5, 20, 9, 29, 18, 40, 61, 52, 77, 121, 85, 235, 165, 281, 393, 438, 586, 645, 884, 1997, 777, 1597, 3598, 4901, 4442, 8249, 4582, 10685, 5362, 28473, 23140, 41305, 41266, 67947, 82953, 101229, 151121, 236221, 257326, 385090, 254725, 713021, 669890 (list; graph; refs; listen; history; text; internal format)
 OFFSET 3,1 LINKS Table of n, a(n) for n=3..48. Eric Weisstein's World of Mathematics, Pyramidal Number Index entries for sequences related to binary expansion of n MATHEMATICA p[n_, k_] := k*(k + 1)*((n - 2)*k + 5 - n)/6; a[n_] := Module[{k = 1}, While[DigitCount[p[n, k], 2, 1] != n, k++]; k]; Array[a, 40, 3] (* Amiram Eldar, Dec 17 2022 *) CROSSREFS Cf. A000120, A358931, A359091. Sequence in context: A198609 A332794 A054508 * A110617 A371859 A234356 Adjacent sequences: A359089 A359090 A359091 * A359093 A359094 A359095 KEYWORD nonn,base AUTHOR Ilya Gutkovskiy, Dec 16 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.

Last modified August 14 18:55 EDT 2024. Contains 375166 sequences. (Running on oeis4.)