• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:52
CEST 18:52
KST 01:52
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
BSL 2025 Warsaw LAN + Legends Showmatch0Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
RSL: Revival, a new crowdfunded tournament series Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia WardiTV TL Team Map Contest #5 Tournaments
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
Soulkey on ASL S20 BW General Discussion ASL20 General Discussion ASL TICKET LIVE help! :D NaDa's Body
Tourneys
[ASL20] Ro16 Group D [Megathread] Daily Proleagues [ASL20] Ro16 Group C BSL 2025 Warsaw LAN + Legends Showmatch
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Borderlands 3 Path of Exile Nintendo Switch Thread General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread UK Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread Russo-Ukrainian War Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
i'm really bored guys
Peanutsc
I <=> 9
KrillinFromwales
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1847 users

Math Problem

Blogs > motbob
Post a Reply
1 2 Next All
motbob
Profile Blog Joined July 2008
United States12546 Posts
Last Edited: 2009-02-06 15:06:49
February 06 2009 13:49 GMT
#1
So I've got this set "S" of non-negative integers. I can add two numbers from this set "S" in order to get every integer 0-100 (I can add numbers to themselves, for example 9+9 to get 18). For example, my set "S" has both 99 and 1, so the number 100 is covered. So is the number 98 since my set has the numbers 89 and 9. My set has 19 elements in it. Is there a set that I can come up with that has fewer elements?

My set:
+ Show Spoiler +
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 29, 39, 49, 59, 69, 79, 89, 99



*
ModeratorGood content always wins.
ninjafetus
Profile Joined December 2008
United States231 Posts
February 06 2009 14:15 GMT
#2
Hmmm... interesting question! That set seems minimal to me, but I'm note sure how to show it. I'll think about it.
minus_human
Profile Blog Joined November 2006
4784 Posts
February 06 2009 14:50 GMT
#3
I don't understand your problem
motbob
Profile Blog Joined July 2008
United States12546 Posts
February 06 2009 15:07 GMT
#4
On February 06 2009 23:50 minus_human wrote:
I don't understand your problem

OK, I tried to clarify it.
ModeratorGood content always wins.
o3.power91
Profile Blog Joined November 2007
Bahrain5288 Posts
Last Edited: 2009-02-06 15:27:01
February 06 2009 15:26 GMT
#5
hmm... interesting question.

edit: i just noticed i have the exact same comment as the first reply XD
Saracen
Profile Blog Joined December 2007
United States5139 Posts
February 06 2009 15:49 GMT
#6
no
my set:
S{0,1,2,3,4,5,6,7,8,9}
and 10n+a from n=1 to n=9 where a is an integer between -1 and 10
FaCE_1
Profile Blog Joined December 2006
Canada6173 Posts
February 06 2009 16:20 GMT
#7
^ I don't think this fallow the ops rules O_o
n_n
Saracen
Profile Blog Joined December 2007
United States5139 Posts
February 06 2009 16:28 GMT
#8
how so...
Divinek
Profile Blog Joined November 2006
Canada4045 Posts
Last Edited: 2009-02-06 16:35:27
February 06 2009 16:30 GMT
#9
On February 07 2009 01:28 Saracen wrote:
how so...


because his set has to be able to add every number to get 1-100, not multiply it afterwards to do so.

er right, you need 0 for 1, duh.
Never attribute to malice that which can be adequately explained by stupidity.
Oh goodness me, FOX tv where do you get your sight? Can't you keep track, the puck is black. That's why the ice is white.
huameng
Profile Blog Joined April 2007
United States1133 Posts
February 06 2009 16:34 GMT
#10
Yeah, he needs the 0 to be able to make 1, 19, 29, etc.

To the OP: I think you have the correct solution
skating
Saracen
Profile Blog Joined December 2007
United States5139 Posts
February 06 2009 16:35 GMT
#11
On February 07 2009 01:30 Divinek wrote:
Show nested quote +
On February 07 2009 01:28 Saracen wrote:
how so...


because his set has to be able to add every number to get 1-100, not multiply it afterwards to do so.

also op why do you have 0 in your set, is that required?

which is what my set does
{0,1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90}
or
{0,1,2,3,4,5,6,7,8,9,11,21,31,41,51,61,71,81,91}
or
{0,1,2,3,4,5,6,7,8,9,12,22,32,42,52,62,72,82,92}
...
and yes, 0 is required
LTT
Profile Blog Joined March 2003
Shakuras1095 Posts
Last Edited: 2009-02-06 16:42:23
February 06 2009 16:41 GMT
#12
There is more than 1 solution. You can also get it with

0, 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 35, 44, 53, 62, 71, 80, 89, 98
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 29, 39, 49, 59, 69, 79, 89, 99
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 21, 32, 43, 54, 65, 76, 87, 98
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 23, 35, 47, 59, 71, 83, 95
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 25, 38, 51, 64, 77, 90

There are also variations of those. Take his example using 0-9 as his "base".
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 30, 40, 50, 60, 70, 80, 90

All of the above have 19 terms.

The total possible summations for a set S(n) containing n elements is C(n,2) + n. From this we can gather tht the absolute minimum of terms to even get 100 summations is 14.

C(14,2) + 14 = 105

You will need at least 14 elements to even have a chance of covering 0-100. Whether any below 19 elements can actually cover...dunno.
blapsd
Profile Blog Joined January 2009
England121 Posts
Last Edited: 2009-02-06 16:54:13
February 06 2009 16:42 GMT
#13
Ok, look at how many numbers you get in your set:

First im going to split the set up into 2 subsets the 1st subset consists of the consecutive numbers 0 - 9 and the second subset consists of the rest.

We can change the number of integers in our first set and this directly affects how many integers we need in our second. I'm going to call the number we go up to in our first set x (in your case this is 9)

ok now lets count how many numbers we have

x + 1 in the first subset (the +1 is because of the 0)

Now we need to make 101 numbers in total (101 because of the 0 remember) and we now have 101 - x numbers left to make. Now we need a number in our second subset for every x+1th number from x to 100.....for example you needed a number every 9+1 times in your 2nd subset.

Now we add up the total number of integers we have:

x+1 (from the first subset) + (100 - x)/(x + 1) (from the second subset)

now form the equation :

y = x + 1 + (100-x)/(x+1) This is the equation for the number of integers in our set. we need to MINIMISE this

To do this we simply differentiate to get (TIP: USE THE QUOTIENT RULE)

dy/dx = 1 + (-101)/((x+1)^2)

put this equal to zero and you finally get x is around 9.05 rounded up a little.

This therefore means for the number of integers in your set to be minimum you need x = 9

NOTE: we are only working in integers and you are allowed to round down due to there being remainders when you divide 101-x by x+1. If you're not convinced just test it for x = 9 and x=10 because i've proved the answer lies between 9 and 10

so you were right x = 9 or putting it back into the equation for y, y = 19.1 (which we are allowed to round down to the nearest integer also) so the minimum number of integers is 19.

which means your set is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 29, 39, 49, 59, 69, 79, 89, 99

also note theres other sets that allow 19 numbers but no sets that contain less than 19

Hope that wasnt too hard to follow.
Saracen
Profile Blog Joined December 2007
United States5139 Posts
February 06 2009 16:46 GMT
#14
On February 07 2009 01:41 LTT wrote:
There is more than 1 solution. You can also get it with

0, 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 35, 44, 53, 62, 71, 80, 89, 98
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 29, 39, 49, 59, 69, 79, 89, 99
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 21, 32, 43, 54, 65, 76, 87, 98
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 23, 35, 47, 59, 71, 83, 95
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 25, 38, 51, 64, 77, 90

no you can't
unless you can repeat numbers, but then you wouldn't need 0
motbob
Profile Blog Joined July 2008
United States12546 Posts
February 06 2009 16:54 GMT
#15
Thanks everyone. I think if no one came up with a set of fewer elements then there probably isn't one. I knew about the other solutions using 19 elements, but I wasn't sure if there was some crazy outside-the-box way of doing it that I hadn't thought of.
ModeratorGood content always wins.
motbob
Profile Blog Joined July 2008
United States12546 Posts
February 06 2009 16:55 GMT
#16
On February 07 2009 01:46 Saracen wrote:
Show nested quote +
On February 07 2009 01:41 LTT wrote:
There is more than 1 solution. You can also get it with

0, 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 35, 44, 53, 62, 71, 80, 89, 98
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 29, 39, 49, 59, 69, 79, 89, 99
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 21, 32, 43, 54, 65, 76, 87, 98
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 23, 35, 47, 59, 71, 83, 95
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 25, 38, 51, 64, 77, 90

no you can't
unless you can repeat numbers, but then you wouldn't need 0

One, you can repeat numbers (it's in the OP) and two, you need zero for 1 (0+1).
ModeratorGood content always wins.
Saracen
Profile Blog Joined December 2007
United States5139 Posts
Last Edited: 2009-02-06 16:58:27
February 06 2009 16:55 GMT
#17
Cooler constraint: pick three numbers from the set to add up to any integer between 1 and 100
the numbers don't have to be non-negative

!

On February 07 2009 01:55 motbob wrote:
Show nested quote +
On February 07 2009 01:46 Saracen wrote:
On February 07 2009 01:41 LTT wrote:
There is more than 1 solution. You can also get it with

0, 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 35, 44, 53, 62, 71, 80, 89, 98
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 29, 39, 49, 59, 69, 79, 89, 99
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 21, 32, 43, 54, 65, 76, 87, 98
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 23, 35, 47, 59, 71, 83, 95
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 25, 38, 51, 64, 77, 90

no you can't
unless you can repeat numbers, but then you wouldn't need 0

One, you can repeat numbers (it's in the OP) and two, you need zero for 1 (0+1).


missed that sorry :\
StRyKeR
Profile Blog Joined January 2006
United States1739 Posts
Last Edited: 2009-02-06 17:01:50
February 06 2009 17:00 GMT
#18
On February 07 2009 01:42 blapsd wrote:
Ok, look at how many numbers you get in your set:

First im going to split the set up into 2 subsets the 1st subset consists of the consecutive numbers 0 - 9 and the second subset consists of the rest.

We can change the number of integers in our first set and this directly affects how many integers we need in our second. I'm going to call the number we go up to in our first set x (in your case this is 9)

ok now lets count how many numbers we have

x + 1 in the first subset (the +1 is because of the 0)

Now we need to make 101 numbers in total (101 because of the 0 remember) and we now have 101 - x numbers left to make.


This isn't true because the (x+1) numbers in the first subset account for more than x+1 numbers from 0 to 101. For example, having {0, 1, 4, 6} hits the set {0, 1, 2, 4, 5, 6, 7, 8, 10, 12}, since you are allowed to double numbers and also take pairs of numbers. In this case, while you have 4 elements from 0 to 9, you actually need to cover only 101 - 10 = 91 numbers now.

There are issues with the rest of your argument because of this fact -- a set of numbers can generate more than its own size.
Ars longa, vita brevis, principia aeturna.
StRyKeR
Profile Blog Joined January 2006
United States1739 Posts
February 06 2009 17:03 GMT
#19
You can show that you need at least 14, but it's still up in the air as to whether 19 is minimal.
Ars longa, vita brevis, principia aeturna.
blapsd
Profile Blog Joined January 2009
England121 Posts
February 06 2009 17:08 GMT
#20
+ Show Spoiler +
This isn't true because the (x+1) numbers in the first subset account for more than x+1 numbers from 0 to 101. For example, having {0, 1, 4, 6} hits the set {0, 1, 2, 4, 5, 6, 7, 8, 10, 12}, since you are allowed to double numbers and also take pairs of numbers.

Now we need a number in our second subset for every x+1th number from x to 100.....for example you needed a number every 9+1 times in your 2nd subset.

There are other issues with the rest of the argument because of this fact -- a set of numbers can generate more than its own size.


yes but remember you are only allowed to make one addition. If you doubled 6 to get 12 for example, you could never add 12 to any other numbers since we've used our 1 addition already. The first subset needs to be a list of numbers you can still add to the others in the 2nd subset, and hence cant be made by doubling or adding.

1 2 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 17h 8m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SpeCial 194
JuggernautJason92
ProTech92
UpATreeSC 66
Codebar 21
StarCraft: Brood War
Britney 29162
Bisu 3885
Horang2 2023
EffOrt 1197
Mini 481
Hyuk 341
Light 314
ZerO 286
Soulkey 190
hero 179
[ Show more ]
Rush 127
Soma 116
ggaemo 85
Snow 73
Hyun 56
Aegong 30
sorry 28
ToSsGirL 27
Terrorterran 20
Yoon 20
scan(afreeca) 16
JYJ16
Sexy 10
IntoTheRainbow 9
Dota 2
Gorgc7128
qojqva3397
Dendi1301
XcaliburYe176
League of Legends
Trikslyr68
Counter-Strike
ScreaM1089
fl0m591
oskar96
Other Games
gofns27970
tarik_tv24439
FrodaN757
Mlord439
Lowko352
Beastyqt283
Hui .265
RotterdaM260
byalli236
ArmadaUGS122
QueenE66
C9.Mang038
NeuroSwarm35
ZerO(Twitch)20
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• FirePhoenix18
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 1064
• WagamamaTV469
League of Legends
• Nemesis4795
• TFBlade583
Other Games
• Shiphtur224
Upcoming Events
RSL Revival
17h 8m
Zoun vs Classic
Map Test Tournament
18h 8m
Korean StarCraft League
1d 10h
BSL Open LAN 2025 - War…
1d 15h
RSL Revival
1d 17h
Reynor vs Cure
BSL Open LAN 2025 - War…
2 days
RSL Revival
2 days
Online Event
2 days
Wardi Open
3 days
Monday Night Weeklies
3 days
[ Show More ]
Sparkling Tuna Cup
4 days
LiuLi Cup
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.