login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104173 a(n) is the smallest integer equal to the sum and the product of the same n positive integers: a(n) = i(1) + i(2) + ... + i(n) = i(1)*i(2)*...*i(n). 5
1, 4, 6, 8, 8, 12, 12, 12, 15, 16, 16, 16, 18, 20, 24, 24, 24, 24, 24, 28, 27, 32, 30, 48, 32, 32, 32, 36, 36, 36, 42, 40, 40, 48, 48, 48, 45, 48, 48, 48, 48, 48, 54, 60, 54, 56, 54, 60, 63, 60, 60, 60, 63, 64, 64, 64, 64, 64, 70, 72, 72, 72, 72, 72, 72, 84, 80, 80, 81, 80, 80 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) <= 2n, since 1^(n-2)*2*n = (n-2)*1 + 2 + n. - Étienne Dupuis, Dec 07 2021
EXAMPLE
a(6)=12 because 6+2+1+1+1+1 = 6*2*1*1*1*1 = 12 is the smallest integer which is the sum and product of the same 6 positive integers.
MATHEMATICA
Table[k=1; While[Select[IntegerPartitions[k, {n}], Total@#==Times@@#&]=={}, k++]; k, {n, 71}] (* Giorgos Kalogeropoulos, Dec 07 2021 *)
CROSSREFS
Sequence in context: A079775 A247654 A262767 * A023991 A183005 A103189
KEYWORD
easy,nonn
AUTHOR
Louis Marmet (louis(AT)marmet.org), Mar 10 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 04:58 EDT 2024. Contains 370952 sequences. (Running on oeis4.)