Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A051839
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A051839 Number of partitions of n with parts (with repetitions) forming a division lattice (i.e. closed under GCD and LCM). +0
4
1, 2, 3, 5, 6, 10, 11, 16, 19, 26, 27, 41, 42, 55, 64, 81, 83, 113, 115, 149, 165, 197, 203, 266, 276, 329, 358, 429, 440, 553, 565, 672, 722, 832, 874, 1060, 1085, 1252, 1342, 1558, 1603, 1901, 1955, 2249, 2410 (list; graph; listen)
OFFSET

1,2

EXAMPLE

For n=6, the only one of the 11 partitions of 6 that fails is [3,2,1]; so a(6) = 10.

MAPLE

with(combinat): ans := []: b := []: for n to 30 do p := partition(n): np := nops(p): nn := np: print(n); for i to np do ss := convert(p[i], set):s := convert(ss, list): ns := nops(s): t := true:

for j to ns-1 do for k from j+1 to ns do if evalb(not(member(gcd(s[j], s[k]), s)) or not(member(lcm(s[j], s[k]), s))) then t := false: fi: od: od:

if t=false then nn := nn-1:fi od: ans := [op(ans), [n, np, nn]]: b := [op(b), [nn]]: od: print(ans); print(b); save b, ans, bans;

CROSSREFS

Sequence in context: A072720 A018396 A003238 this_sequence A130714 A130689 A024560

Adjacent sequences: A051836 A051837 A051838 this_sequence A051840 A051841 A051842

KEYWORD

nonn,easy,nice

AUTHOR

John McKay (mckay(AT)cs.concordia.ca), Dec 13 1999

EXTENSIONS

More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 05 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 7 15:23 EDT 2008. Contains 143483 sequences.


AT&T Labs Research