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!)
A359091 a(n) is the index of the smallest n-gonal number with binary weight n. 1
6, 13, 9, 10, 24, 58, 34, 55, 67, 151, 134, 187, 201, 691, 350, 623, 1082, 1870, 2302, 3171, 5017, 13863, 13230, 6663, 24357, 50397, 35604, 60347, 63810, 107019, 181517, 365595, 624858, 1345485, 1002585, 1969415, 1191179, 7651731, 4592173, 7279863, 7403686, 17923182 (list; graph; refs; listen; history; text; internal format)
OFFSET
3,1
LINKS
Eric Weisstein's World of Mathematics, Polygonal Number
MATHEMATICA
p[n_, k_] := (n - 2)*k*(k - 1)/2 + k; a[n_] := Module[{k = 1}, While[DigitCount[p[n, k], 2, 1] != n, k++]; k]; Array[a, 30, 3] (* Amiram Eldar, Dec 17 2022 *)
CROSSREFS
Sequence in context: A229336 A363755 A070396 * A130012 A265740 A090324
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 29 00:08 EDT 2024. Contains 372097 sequences. (Running on oeis4.)