Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A048645
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A048645 Integers with one or two 1-bits in their binary expansion. +0
14
1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 16, 17, 18, 20, 24, 32, 33, 34, 36, 40, 48, 64, 65, 66, 68, 72, 80, 96, 128, 129, 130, 132, 136, 144, 160, 192, 256, 257, 258, 260, 264, 272, 288, 320, 384, 512, 513, 514, 516, 520, 528, 544, 576, 640, 768, 1024, 1025, 1026, 1028, 1032 (list; table; graph; listen)
OFFSET

1,2

COMMENT

Apart from initial 1, sums of two not necessarily distinct powers of 2.

4 does not divide C(2s-1,s) (= A001700[ s ]) if and only if s=a(n).

Possible number of sides of a regular polygon such that there exists a triangulation where each triangle is isosceles. - Sen-Peng Eu (speu(AT)nuk.edu.tw), May 07 2008

REFERENCES

USA Mathematical Olympiad, 2008, Problem 4.

LINKS

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.

FORMULA

a(0) = 1, a(n) = (2^(trinv(n-1)-1) + 2^((n-1)-((trinv(n-1)*(trinv(n-1)-1))/2))) i.e. 2^A003056(n)+2^A002262(n-1) (the latter sequence contains the definition of trinv).

Let Theta = Sum_{k >= 0} x^(2^k). Then Sum_{n>=1} x^a(n) = (Theta^2 + Theta + x)/2. - N. J. A. Sloane, Jun 23 2009

MAPLE

lincom:=proc(a, b, n) local i, j, s, m; s:={}; for i from 0 to n do for j from 0 to n do m:=a^i+b^j; if m<=n then s:={op(s), m} fi od; od; lprint(sort([op(s)])); end: lincom(2, 2, 1000); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Feb 24 2007

CROSSREFS

Cf. A018900, A048623, A046097.

Sequence in context: A018412 A061945 A029509 this_sequence A093863 A091902 A067698

Adjacent sequences: A048642 A048643 A048644 this_sequence A048646 A048647 A048648

KEYWORD

easy,nonn,tabl

AUTHOR

Antti Karttunen, Jul 14 1999

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research