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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A110454 Largest composite number obtained by concatenation of parts of a distinct partition of n, or 0 if no such number exist. 1
0, 0, 21, 0, 32, 321, 412, 512, 621, 4321, 5321, 6321, 7312, 8321, 54321, 64321, 74321, 84321, 94312, 432110, 654321, 754321, 854321, 954321, 5432110, 6432110, 7432110, 8432110, 9432110, 9654321, 65432110, 75432110, 85432110, 95432110, 96432110 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

COMMENTS

Conjecture a(n) = 0 only for n = 1,2 and 4.

EXAMPLE

The partitions of 9 are 9, (8, 1), (7, 2), (6, 3), ...(6, 2, 1), (5, 3, 1), (4, 3, 2) etc. (432 is the largest number obtained as a concatenation of 4, 3, 2).

MAPLE

catL := proc(L) local a, i ; a := op(-1, L) ; for i from 2 to nops(L) do a := a*10^(max(1, ilog10(op(-i, L))+1))+op(-i, L) ; od: RETURN(a) ; end: A110454 := proc(n) local a, p, m, j ; a := 0 ; for p in combinat[partition](n) do if nops(p) = nops( convert(p, set)) then for j in combinat[permute](p) do m := catL(j) ; if ( m > 4 and not isprime(m) ) and ( m > a) then a := m ; fi ; od: fi ; od: RETURN(a) ; end: for n from 1 do printf("%d, ", A110454(n)) ; od: - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 08 2008

CROSSREFS

Sequence in context: A048948 A172834 A167263 * A040445 A040446 A040447

Adjacent sequences:  A110451 A110452 A110453 * A110455 A110456 A110457

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Aug 04 2005

EXTENSIONS

a(9) corrected by James Sellers, Nov 18 2005

Corrected and extended by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 08 2008

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 17 23:08 EST 2012. Contains 206085 sequences.