login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104258 Replace 2^i with n^i in binary representation of n. 12
1, 2, 4, 16, 26, 42, 57, 512, 730, 1010, 1343, 1872, 2367, 2954, 3616, 65536, 83522, 104994, 130341, 160400, 194923, 234762, 280394, 345600, 406251, 474578, 551152, 637392, 732512, 837930, 954305, 33554432, 39135394, 45435458 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The following sequences all appear to have the same parity: A003071, A029886, A061297, A092524, A093431, A102393, A104258, A122248, A128975. - Jeremy Gardiner, Dec 28 2008

LINKS

Table of n, a(n) for n=1..34.

FORMULA

a(n) = A104257(n, n).

PROG

(PARI) a(n) = my(b=binary(n)); sum(k=1, #b, b[k]*n^(#b-k)); \\ Michel Marcus, Mar 19 2015

CROSSREFS

Cf. A104257.

Sequence in context: A225983 A153665 A015775 * A143904 A144797 A173746

Adjacent sequences:  A104255 A104256 A104257 * A104259 A104260 A104261

KEYWORD

nonn

AUTHOR

Ralf Stephan, Mar 05 2005

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified March 27 22:02 EDT 2017. Contains 284182 sequences.