• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:08
CEST 12:08
KST 19:08
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL62Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event21Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Program: SC2 / XSplit / OBS Scene Switcher Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap
Tourneys
RSL: Revival, a new crowdfunded tournament series WardiTV Mondays FEL Cracov 2025 (July 27) - $8000 live event Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2)
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Flash Announces Hiatus From ASL Player “Jedi” cheat on CSL Practice Partners (Official) ASL20 Preliminary Maps SC uni coach streams logging into betting site
Tourneys
[BSL20] Grand Finals - Sunday 20:00 CET [Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
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 Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Trading/Investing Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 758 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
Canada6170 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
RSL Revival
10:00
Season 1: Playoffs Day 4
Clem vs Classic
SHIN vs Cure
Tasteless637
Crank 465
3DClanTV 31
IntoTheiNu 26
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Tasteless 637
Crank 465
Rex 37
MindelVK 24
EmSc Tv 0
StarCraft: Brood War
Sea 8581
Calm 3833
Horang2 2220
Rain 2142
Bisu 1035
Hyuk 774
Jaedong 455
Leta 272
Soma 205
PianO 151
[ Show more ]
Shuttle 144
ZerO 141
ToSsGirL 138
EffOrt 134
TY 127
Killer 73
Rush 62
Hyun 53
JulyZerg 47
HiyA 24
zelot 21
Free 21
Last 19
Movie 17
JYJ12
ajuk12(nOOB) 9
Sacsri 5
ivOry 3
Dota 2
XaKoH 700
XcaliburYe684
Fuzer 234
League of Legends
JimRising 566
singsing138
Counter-Strike
Stewie2K1966
x6flipin6
Heroes of the Storm
Khaldor357
Other Games
Happy521
crisheroes224
Pyrionflax210
ZerO(Twitch)25
Organizations
StarCraft 2
ComeBackTV 142
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
StarCraft 2
EmSc Tv 0
EmSc2Tv 0
StarCraft: Brood War
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH336
• LUISG 30
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2280
League of Legends
• Lourlo1183
Upcoming Events
FEL
1h 52m
WardiTV European League
1h 52m
BSL: ProLeague
7h 52m
Dewalt vs Bonyth
Replay Cast
1d 13h
Sparkling Tuna Cup
1d 23h
WardiTV European League
2 days
The PondCast
2 days
Replay Cast
3 days
RSL Revival
3 days
Replay Cast
4 days
[ Show More ]
RSL Revival
4 days
FEL
5 days
RSL Revival
5 days
FEL
6 days
FEL
6 days
Sparkling Tuna Cup
6 days
RSL Revival
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
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
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.