• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 19:47
CET 01:47
KST 09:47
  • 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
TL.net Map Contest #21: Winners9Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
Starcraft, SC2, HoTS, WC3, returning to Blizzcon!33$5,000+ WardiTV 2025 Championship6[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win10
StarCraft 2
General
Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win TL.net Map Contest #21: Winners RotterdaM "Serral is the GOAT, and it's not close" 5.0.15 Patch Balance Hotfix (2025-10-8) Starcraft, SC2, HoTS, WC3, returning to Blizzcon!
Tourneys
$5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
[ASL20] Ask the mapmakers — Drop your questions BW General Discussion [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review
Tourneys
[Megathread] Daily Proleagues [ASL20] Grand Finals [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread Should offensive tower rushing be viable in RTS games? Dawn of War IV
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1623 users

Anyone took putnam math contest today? - Page 2

Blogs > evanthebouncy!
Post a Reply
Prev 1 2 All
stoned_rabbit
Profile Blog Joined November 2009
United States324 Posts
December 06 2009 19:12 GMT
#21
I'm pretty there's an upper bounds on what this sequence can generate. It would be extremely large, but it's there.
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
December 06 2009 19:20 GMT
#22
On December 07 2009 00:29 Hamster1800 wrote:
Okay...I think I've got it.

First let's notice that 2 is a generator modulo 3^r for all r. That is, the set of residues of 2^k mod 3^r over all k are all of the residues relatively prime to 3^r. This can be shown because 2 is a generator mod 9, and then the standard primitive root lifting argument shows it for all r > 2.

Therefore, we know that if 3^r >> n, we can write n as the remainder of 2^k * 3^l mod 3^r for some k and l (let 2^k = n mod 3^r and l be the number of 3s dividing n). All we then need to show are that we can construct 2^k * 3^l and 3^r in a constant number of steps.

We have a_0 = 0. Let a_1 = 2^m for m >> r, k, and l, a_2 = 2^m + 1, and a_3 = 2^m + 3. Now we let a_4 = 2^(m*l + k) and a_5 = 2^(m*r). a_6 = a_4 % a_3 = 2^k * 3^l, and a_7 = a_5 % a_3 = 3^r. Finally a_8 = a_6 % a_7 = (2^k * 3^l) % (3^r) = n.

It's easy to then get a_2009 to be equal to n.


can we go over "we can write n as the remainder of 2^k * 3^l mod 3^r for some k and l (let 2^k = n mod 3^r and l be the number of 3s dividing n). " this part again? I'm not understanding what's going on >_<

I understand that n is definitely in the mod class for 3^r and I understand that 2^k * 3^l can be possibly the same mod class as n but I don't understand how you do it to get 2^k * 3^l to be exactly n still
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Ganfei
Profile Blog Joined August 2008
Taiwan1439 Posts
December 06 2009 19:23 GMT
#23
this thread hurts my head
You are crushing me like a cheese sandwich
ForTheSwarm
Profile Blog Joined April 2009
United States556 Posts
December 06 2009 19:25 GMT
#24
On December 07 2009 00:40 Commodore wrote:
Show nested quote +
On December 06 2009 22:56 Ludrik wrote:
I've been looking around for interesting maths based problem solving sites and figured you guys might have some suggestions. Currently I'm slowly working through projecteuler.net


Old Putnam problems are available http://www.unl.edu/amc/a-activities/a7-problems/putnamindex.shtml

I went through some of these while preparing for the Putnam exam. Some of these can be done without anything more than freshman calculus, but many require undergraduate real analysis or abstract algebra.


Grad School Math major ftw! Commodore, I'm curious, how did the Putnam go for you?
Whenever I see a dropship, my asshole tingles, because it knows whats coming... - TheAntZ
datscilly
Profile Blog Joined November 2007
United States529 Posts
December 06 2009 19:32 GMT
#25
On December 07 2009 04:20 evanthebouncy! wrote:
Show nested quote +
On December 07 2009 00:29 Hamster1800 wrote:
Okay...I think I've got it.

First let's notice that 2 is a generator modulo 3^r for all r. That is, the set of residues of 2^k mod 3^r over all k are all of the residues relatively prime to 3^r. This can be shown because 2 is a generator mod 9, and then the standard primitive root lifting argument shows it for all r > 2.

Therefore, we know that if 3^r >> n, we can write n as the remainder of 2^k * 3^l mod 3^r for some k and l (let 2^k = n mod 3^r and l be the number of 3s dividing n). All we then need to show are that we can construct 2^k * 3^l and 3^r in a constant number of steps.

We have a_0 = 0. Let a_1 = 2^m for m >> r, k, and l, a_2 = 2^m + 1, and a_3 = 2^m + 3. Now we let a_4 = 2^(m*l + k) and a_5 = 2^(m*r). a_6 = a_4 % a_3 = 2^k * 3^l, and a_7 = a_5 % a_3 = 3^r. Finally a_8 = a_6 % a_7 = (2^k * 3^l) % (3^r) = n.

It's easy to then get a_2009 to be equal to n.


can we go over "we can write n as the remainder of 2^k * 3^l mod 3^r for some k and l (let 2^k = n mod 3^r and l be the number of 3s dividing n). " this part again? I'm not understanding what's going on >_<

I understand that n is definitely in the mod class for 3^r and I understand that 2^k * 3^l can be possibly the same mod class as n but I don't understand how you do it to get 2^k * 3^l to be exactly n still


It should be
(let 2^k = n mod 3^l and l be the number of 3s dividing n)

and is easier to understand if switched
(let l be the number of 3s dividing n and 2^k = n mod 3^l)
Hamster1800
Profile Blog Joined August 2008
United States175 Posts
December 06 2009 19:34 GMT
#26
On December 07 2009 04:32 datscilly wrote:
Show nested quote +
On December 07 2009 04:20 evanthebouncy! wrote:
On December 07 2009 00:29 Hamster1800 wrote:
Okay...I think I've got it.

First let's notice that 2 is a generator modulo 3^r for all r. That is, the set of residues of 2^k mod 3^r over all k are all of the residues relatively prime to 3^r. This can be shown because 2 is a generator mod 9, and then the standard primitive root lifting argument shows it for all r > 2.

Therefore, we know that if 3^r >> n, we can write n as the remainder of 2^k * 3^l mod 3^r for some k and l (let 2^k = n mod 3^r and l be the number of 3s dividing n). All we then need to show are that we can construct 2^k * 3^l and 3^r in a constant number of steps.

We have a_0 = 0. Let a_1 = 2^m for m >> r, k, and l, a_2 = 2^m + 1, and a_3 = 2^m + 3. Now we let a_4 = 2^(m*l + k) and a_5 = 2^(m*r). a_6 = a_4 % a_3 = 2^k * 3^l, and a_7 = a_5 % a_3 = 3^r. Finally a_8 = a_6 % a_7 = (2^k * 3^l) % (3^r) = n.

It's easy to then get a_2009 to be equal to n.


can we go over "we can write n as the remainder of 2^k * 3^l mod 3^r for some k and l (let 2^k = n mod 3^r and l be the number of 3s dividing n). " this part again? I'm not understanding what's going on >_<

I understand that n is definitely in the mod class for 3^r and I understand that 2^k * 3^l can be possibly the same mod class as n but I don't understand how you do it to get 2^k * 3^l to be exactly n still


It should be
Show nested quote +
(let 2^k = n mod 3^l and l be the number of 3s dividing n)

and is easier to understand if switched
Show nested quote +
(let l be the number of 3s dividing n and 2^k = n mod 3^l)


It still needs to be fixed slightly. My apologies. You have to write n = 3^l * b where b is not a multiple of 3. Then we know that (because 2 is a generator mod 3^r) that there is some k such that 2^k = b. These are the k and l you want.

I don't have time to prove that 2 is a generator mod 3^r right now. If I get time I'll put that proof here, but it's pretty standard when proving the primitive root theorem.
D is for Diamond, E is for Everything Else
Commodore
Profile Joined January 2008
United States97 Posts
Last Edited: 2009-12-06 20:37:58
December 06 2009 20:32 GMT
#27
On December 07 2009 04:25 ForTheSwarm wrote:
Show nested quote +
On December 07 2009 00:40 Commodore wrote:
On December 06 2009 22:56 Ludrik wrote:
I've been looking around for interesting maths based problem solving sites and figured you guys might have some suggestions. Currently I'm slowly working through projecteuler.net


Old Putnam problems are available http://www.unl.edu/amc/a-activities/a7-problems/putnamindex.shtml

I went through some of these while preparing for the Putnam exam. Some of these can be done without anything more than freshman calculus, but many require undergraduate real analysis or abstract algebra.


Grad School Math major ftw! Commodore, I'm curious, how did the Putnam go for you?


I scored 11 out of 120 points, which put me in the top 26%. This is one tough exam!

You going to take it next year?
meaculpa
Profile Blog Joined November 2009
United States119 Posts
December 06 2009 21:24 GMT
#28
Might be a good time for you to put your genius mind to use and solve the problem for us, Klockan3? Now that you have the proper wording, the solution should trivially follow from the definitions.
Blessed is the mind too small for doubt.
qrs
Profile Blog Joined December 2007
United States3637 Posts
Last Edited: 2009-12-07 06:55:37
December 06 2009 21:57 GMT
#29
I took it: pretty fun, even though I only got two of them. By chance, this was one of the ones I (think I) got. Hamster's answer looks more or less like it, but all that dense terminology and symbolism makes my eyes hurt to look at, so I'll just post an example of how it works, which is probably easier to read, albeit less formal.

Just for instance, let's make "n" 500. Lets call j the smallest integer such that 2^j is more than n, so in this case j = 9.

a0: 0
a1: 1 (0 + 2^0)
a2: 2^j + 1 (a1 + 2^j) = 513
a3: 2^(j+1) = 1024
a4 a3 mod a2 = 2^j - 1 = 511
a5: 2^(j+n-1) = 2^508 = a lot
...
a2009 a5 mod a4 = 1 * (j + n - 1 - j - 1) = 500.*

Of course for my example of 500 you don't need to do it that way, but the method should work for any number at all.

* edit: intuitive demonstration, since I see there was another page of posts discussing this:

512 /512 = 1. 512/511 = 1 remainder 1.
1024/512 = 2. 1024/511 = 2 remainder 2.
and so on: with each go-round, the remainder "lags" by one more.

Obviously that's not a formal proof, but it should be enough to let anyone see why it's true. Even on the test itself I didn't really do a good job of proving this formally, so I'll probably lose points there.

edit 2:
On December 07 2009 04:12 stoned_rabbit wrote:
I'm pretty there's an upper bounds on what this sequence can generate. It would be extremely large, but it's there.

The reason there's no upper bound on what it can generate is that there is no upper bound on what "k" (2^k) can be.
'As per the American Heart Association, the beat of the Bee Gees song "Stayin' Alive" provides an ideal rhythm in terms of beats per minute to use for hands-only CPR. One can also hum Queen's "Another One Bites The Dust".' —Wikipedia
Prev 1 2 All
Please log in or register to reply.
Live Events Refresh
LAN Event
18:00
Stellar Fest: Day 1
UrsaTVCanada532
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
UpATreeSC 79
CosmosSc2 77
StarCraft: Brood War
NaDa 51
Super Smash Bros
C9.Mang0336
Other Games
tarik_tv9593
summit1g7272
Grubby2993
FrodaN210
PPMD28
Models5
Organizations
Other Games
gamesdonequick733
Counter-Strike
PGL124
StarCraft 2
angryscii 28
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Hupsaiya 74
• RyuSc2 48
• davetesta26
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• mYiSmile113
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Ler50
League of Legends
• imaqtpie2002
Upcoming Events
Korean StarCraft League
2h 13m
CranKy Ducklings
9h 13m
IPSL
17h 13m
dxtr13 vs OldBoy
Napoleon vs Doodle
LAN Event
17h 13m
BSL 21
19h 13m
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
22h 13m
Sparkling Tuna Cup
1d 9h
WardiTV Korean Royale
1d 11h
IPSL
1d 17h
JDConan vs WIZARD
WolFix vs Cross
LAN Event
1d 17h
[ Show More ]
BSL 21
1d 19h
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
2 days
Wardi Open
2 days
WardiTV Korean Royale
3 days
Replay Cast
4 days
Kung Fu Cup
4 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
4 days
The PondCast
5 days
RSL Revival
5 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
5 days
WardiTV Korean Royale
5 days
RSL Revival
6 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
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.