Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078389
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078389 Number of different values obtained by evaluating all different parenthesizations of 1/2/3/4/.../n. +0
2
1, 1, 2, 4, 8, 16, 32, 60, 116, 192, 384, 544, 1088, 1736, 2576, 3824, 7648, 10352, 20704, 28096, 40256, 62128, 124256, 155488, 227872, 349248, 470352, 622128, 1244256, 1499232, 2998464 (list; graph; listen)
OFFSET

1,3

COMMENT

a(n) = 2*a(n-1) if n is a prime, because (p/q)/n and p/(q/n)=(p/q)*n give exactly two different values for each of the different values p/q from the parenthesizations of 1/../n-1 and a(n) <= 2*a(n-1) if n is not a prime. [From Alois P. Heinz (heinz(AT)hs-heilbronn.de), Nov 23 2008]

LINKS

Index entries for sequences related to parenthesizing

EXAMPLE

For n=4, ((1/2)/3)/4=1/24, (1/2)/(3/4)=2/3, (1/(2/3))/4=3/8, 1/((2/3)/4)=6 and 1/(2/(3/4))=3/8, giving 4 different values 1/24, 3/8, 2/3 and 6. Thus a(4)=4.

a(5) = 2*a(4) = 2*4 = 8, because 5 is a prime; the 8 different values are: 1/120, 3/40, 2/15, 5/24, 6/5, 15/8, 10/3, 30. [From Alois P. Heinz (heinz(AT)hs-heilbronn.de), Nov 23 2008]

MAPLE

p:= proc (n) option remember; local x; if n<1 then {} elif n=1 then {l} elif n=2 then {1/2} else {seq ([x/n, x*n][], x=p (n-1))} fi end: a:= n-> nops (p(n)): seq (a(n), n=1..20); [From Alois P. Heinz (heinz(AT)hs-heilbronn.de), Nov 23 2008]

CROSSREFS

Sequence in context: A056644 A007813 A005309 this_sequence A059173 A027560 A135493

Adjacent sequences: A078386 A078387 A078388 this_sequence A078390 A078391 A078392

KEYWORD

nonn,nice

AUTHOR

John W. Layman (layman(AT)math.vt.edu), May 07 2003

EXTENSIONS

Corrected a(5) - a(10) and extended a(11) - a(31) by Alois P. Heinz (heinz(AT)hs-heilbronn.de), Nov 23 2008

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 December 18 21:37 EST 2009. Contains 171024 sequences.


AT&T Labs Research