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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054243 Number of partitions of n into distinct positive parts <=n, where parts are combined by XOR. 5
1, 1, 1, 2, 2, 4, 8, 16, 16, 32, 64, 128, 256, 512, 1024, 2048, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 67108864, 134217728, 268435456, 536870912 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

COMMENTS

Usually successive powers of 2, but "stutters" when n is power of 2. (G.f. must satisfy some interesting functional equations!). Empty partition of 0 defined as 1.

This is an instance of what I like to call "numbral theory": whenever you have a set of indexed objects that you can do some kind of arithmetic on, then the indices act as "shadows" of the objects and you can generally talk about lots of analogs, such as partitions, primes, even generating functions, etc. It would be worthwhile to systematically "fill out" the entries for as many of these systems as possible in the OEIS.

The "AND" version is just the all-ones sequence. - Christian G. Bower (bowerc(AT)usa.net), Jun 07 2005

LINKS

T. D. Noe, Table of n, a(n) for n=0..1000

FORMULA

a(n) = 2^[n-log2(n)-1] = A000079(n)/A062383(n). - Henry Bottomley (se16(AT)btinternet.com), Nov 22 2001

EXAMPLE

a(5)=4 thus: 5 4+1 5+3+2+1 4+3+2 (where "+" = XOR)

CROSSREFS

Inclusive-OR (or IOR) version: A054244.

Contribution from Johannes W. Meijer (meijgia(AT)hotmail.com), May 24 2009: (Start)

Cf. A160473.

(End)

Sequence in context: A153999 A154002 A154005 * A005864 A112433 A171648

Adjacent sequences:  A054240 A054241 A054242 * A054244 A054245 A054246

KEYWORD

easy,nonn,nice

AUTHOR

Marc LeBrun (mlb(AT)well.com), Feb 08 2000

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 15 04:23 EST 2012. Contains 205694 sequences.