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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A135124 Numbers such that the digital sums in base 2, base 4 and base 8 are all equal. 0
1, 64, 65, 4096, 4097, 4160, 4161, 262144, 262145, 262208, 262209, 266240, 266241, 266304, 266305, 16777216, 16777217, 16777280, 16777281, 16781312, 16781313, 16781376, 16781377, 17039360, 17039361, 17039424, 17039425, 17043456 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Written as base 64 numbers the sequence is 1,10,11,100,101,110,111,1000,1001, ... (cf. A007088)

FORMULA

a(n)=(1/2)*sum{0<=k<=floor(log_2(n)), (1-(-1)^floor(n/2^k))*64^k}.

G.f.: g(x)=(1/(1-x))*sum{k>=0, 64^k*x^(2^k)/(1+x^(2^k))}.

EXAMPLE

a(7)=4161, since ds_2(4161 )=ds_4(4161 )=ds_8(4161 ), where ds_x=digital sum base x.

CROSSREFS

Cf. A007953, A054899, A131451, A133620, A133900, A134599, A135100, A135110, A135120, A037308.

Sequence in context: A123994 A151984 A194769 * A070931 A095533 A044864

Adjacent sequences:  A135121 A135122 A135123 * A135125 A135126 A135127

KEYWORD

nonn,base

AUTHOR

Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), Dec 31 2007, Dec 31 2008

EXTENSIONS

Edited by N. J. A. Sloane (njas(AT)research.att.com), Jan 17 2009

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

Content is available under The OEIS End-User License Agreement .

Last modified February 16 06:46 EST 2012. Contains 205867 sequences.