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!)
A302451 a(n) = [x^n] Product_{k>=0} (1 + n*x^(2^k)). 1
1, 1, 2, 9, 4, 25, 36, 343, 8, 81, 100, 1331, 144, 2197, 2744, 50625, 16, 289, 324, 6859, 400, 9261, 10648, 279841, 576, 15625, 17576, 531441, 21952, 707281, 810000, 28629151, 32, 1089, 1156, 42875, 1296, 50653, 54872, 2313441, 1600, 68921, 74088, 3418801, 85184, 4100625, 4477456, 229345007, 2304 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = n^A000120(n).
a(n) = A256140(n,n).
a(2^k) = 2^k.
a(2^k-1) = (2^k - 1)^k.
EXAMPLE
+---+-----+---+----------+
| n | bin.|1's| a(n) |
+---+-----+---+----------+
| 0 | 0 | 0 | 0^0 = 1 |
| 1 | 1 | 1 | 1^1 = 1 |
| 2 | 10 | 1 | 2^1 = 2 |
| 3 | 11 | 2 | 3^2 = 9 |
| 4 | 100 | 1 | 4^1 = 4 |
| 5 | 101 | 2 | 5^2 = 25 |
| 6 | 110 | 2 | 6^2 = 36 |
+---+-----+---+----------+
bin. - n written in base 2;
1's - number of 1's in binary expansion of n.
MATHEMATICA
Table[SeriesCoefficient[Product[(1 + n x^(2^k)), {k, 0, n}], {x, 0, n}], {n, 0, 48}]
Join[{1}, Table[n^DigitCount[n, 2, 1], {n, 48}]]
PROG
(PARI) a(n) = n^hammingweight(n); \\ Altug Alkan, Apr 08 2018
CROSSREFS
Main diagonal of A256140.
Sequence in context: A328618 A318680 A171560 * A220416 A054789 A002508
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 08 2018
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 23 09:48 EDT 2024. Contains 371905 sequences. (Running on oeis4.)