Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A067895
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A067895 Write 2^n, 2^n+1, 2^n+2, ..., 2^(n+1)-1 in binary and add as if they were decimal numbers. +0
3
1, 21, 422, 8444, 168888, 3377776, 67555552, 1351111104, 27022222208, 540444444416, 10808888888832, 216177777777664, 4323555555555328, 86471111111110656, 1729422222222221312, 34588444444444442624, 691768888888888885248, 13835377777777777770496, 276707555555555555540992 (list; graph; listen)
OFFSET

0,2

FORMULA

G.f.: (1-x)/(1-22x+40x^2). a(n)=2^(n-1)*(19*10^n-1)/9=22a(n-1)-40a(n-2).

EXAMPLE

2^2 to 2^3-1 = 4 through 7 = 100, 101, 110 and 111 in binary and when summed = 422.

PROGRAM

(PARI) a(n)=if(n<0, 0, 2^(n-1)*(19*10^n-1)/9)

CROSSREFS

Cf. A067894.

Sequence in context: A083043 A097833 A064108 this_sequence A092499 A009965 A041842

Adjacent sequences: A067892 A067893 A067894 this_sequence A067896 A067897 A067898

KEYWORD

nonn,base,easy

AUTHOR

njas, May 15 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified September 6 16:04 EDT 2008. Contains 143483 sequences.


AT&T Labs Research