[2013-Feb-01]

Blame Quintushalls for this.

Moderators: NeatNit, Kimra

[2013-Feb-01]

Postby Rant_423 » Fri Feb 01, 2013 9:46 pm

loved this one. I'm currently at the college and just three days ago I did the exam that involved Fourier Transform.
and since I'm studying IT, I wrote a (horrible and dirty and unelegant) piece of perl code to find the Fouriest transformation of any given number :D

http://pastebin.com/9u56wb2W

(please ignore line three, it's a joke toward a friend :oops: )

ps. it has some flaws (don't give results for just '4' and if some bases have the same amount of Fours, it will give just the lowest base)
(also I suck writing in english)
Rant_423
 
Posts: 2
Joined: Fri Feb 01, 2013 5:34 pm

Re: 2013 Feb 01

Postby epidemian » Sat Feb 02, 2013 7:45 am

Someone made a code-golfing contest inspired by this comic here: http://codegolf.stackexchange.com/questions/10608/convert-number-to-a-base-where-its-representation-has-most-4s. There are some good responses there. And i really like the (winner at this moment) APL solution with its little explaination. It's not as bizarre as it seems! I used that language at university for a bit and man it was a fun language to program with; trying to always come up with the more succinct way to express an algorithm =D
epidemian
 
Posts: 2
Joined: Sat Feb 02, 2013 7:30 am

Re: 2013 Feb 01

Postby epidemian » Sat Feb 02, 2013 7:54 am

BTW, it's the first time i observe this XKCD-ish nerdly-viral type of ramification from an SMBC comic (but most surely not the first time it happens). It's really awesome. Just as an example, a question inspired by today's XKCD comic on the "tar" Linux command also got popular on the StackExchange network, though this time on serverfault.com: http://serverfault.com/questions/474561/why-does-tar-xvfz-fail-but-tar-xvfz-work.
epidemian
 
Posts: 2
Joined: Sat Feb 02, 2013 7:30 am

Re: 2013 Feb 01

Postby Jan-Maarten » Sat Feb 02, 2013 10:55 am

Every number system is base 10! The number system with the most fours in it will have this many unique number symbols: x x x x x.
Jan-Maarten
 

Re: 2013 Feb 01

Postby Hock » Mon Feb 04, 2013 5:13 am

FUN FACT!

If x=(5^n)-1

Where n is a natural number >1

Then x is fouriest in base five.
Hock
 
Posts: 1
Joined: Sat Feb 02, 2013 12:06 pm

Re: 2013 Feb 01

Postby Lethal Interjection » Mon Feb 04, 2013 6:57 am

Hock wrote:FUN FACT!

If x=(5^n)-1

Where n is a natural number >1

Then x is fouriest in base five.



I'M HAVING SO MUCH FUN!
User avatar
Lethal Interjection
Death by Elocution
 
Posts: 8059
Joined: Wed Oct 12, 2005 2:17 pm
Location: Behind your ear. It's magic!

Re: 2013 Feb 01

Postby Apocalyptus » Wed Feb 06, 2013 4:49 am

Almost too much fun. I think we all ought to sit down calmly, take a stress pill, and think things over.
Kimra wrote:Next they'll be denying us the right to say "We'll rape your arse if you don't come to this fucken country."
User avatar
Apocalyptus
Not what you were expecting
 
Posts: 5301
Joined: Tue Jun 02, 2009 2:00 pm
Location: Melbourne

Re: 2013 Feb 01

Postby Kimra » Wed Feb 06, 2013 5:28 am

Apocalyptus wrote:Almost too much fun. I think we all ought to sit down calmly, take a stress pill, and think things over.


Why would I need a pill to be more stressed? This is preposterous.
King Prawn
User avatar
Kimra
He-Man in a Miniskirt
 
Posts: 6872
Joined: Tue Jun 02, 2009 10:18 am
Location: meanwhile elsewhere

Re: 2013 Feb 01

Postby Apocalyptus » Wed Feb 06, 2013 5:58 am

A pill for relieving stress. For goodness' sake, work with me a little here Kimra.
Kimra wrote:Next they'll be denying us the right to say "We'll rape your arse if you don't come to this fucken country."
User avatar
Apocalyptus
Not what you were expecting
 
Posts: 5301
Joined: Tue Jun 02, 2009 2:00 pm
Location: Melbourne

Re: 2013 Feb 01

Postby Lethal Interjection » Wed Feb 06, 2013 6:05 am

We all know those are rohipnol.
User avatar
Lethal Interjection
Death by Elocution
 
Posts: 8059
Joined: Wed Oct 12, 2005 2:17 pm
Location: Behind your ear. It's magic!

Re: 2013 Feb 01

Postby Apocalyptus » Wed Feb 06, 2013 6:11 am

Hey, there's nothing less stressful than losing consciousness, right?
Kimra wrote:Next they'll be denying us the right to say "We'll rape your arse if you don't come to this fucken country."
User avatar
Apocalyptus
Not what you were expecting
 
Posts: 5301
Joined: Tue Jun 02, 2009 2:00 pm
Location: Melbourne

Re: 2013 Feb 01

Postby GUTCHUCKER » Wed Feb 06, 2013 7:25 am

Depends on where you wake up.
Datanazush wrote:I ship Mohammed and Jehova.
User avatar
GUTCHUCKER
Gotchucker's less handsome twin
 
Posts: 2126
Joined: Wed Dec 01, 2010 2:26 am
Location: Paradise City?

Re: 2013 Feb 01

Postby Lethal Interjection » Wed Feb 06, 2013 4:55 pm

Apocalyptus wrote:Hey, there's nothing less stressful than losing consciousness, right?


No cares in the world!
User avatar
Lethal Interjection
Death by Elocution
 
Posts: 8059
Joined: Wed Oct 12, 2005 2:17 pm
Location: Behind your ear. It's magic!

Re: 2013 Feb 01

Postby Michael May » Wed Feb 06, 2013 8:58 pm

ARE YOU GUYS READY FOR SUPER FUN FACTS

If a number x can be divided by 4(1+a+a^2+a^3+...a^n) for some a>4 and any n, then x is all 4's in base a.
Michael May
 

Re: 2013 Feb 01

Postby Edminster » Wed Feb 06, 2013 9:54 pm

Dude, not cool! I wasn't ready for that level of excitement, and now a blood vessel has popped in my eye.

Thanks a lot, dick.
ol qwerty bastard wrote:bitcoin is backed by math, and math is intrinsically perfect and logically consistent always

gödel stop spreading fud
User avatar
Edminster
Tested positive for Space-AIDS
 
Posts: 8849
Joined: Fri Sep 09, 2005 9:53 pm
Location: Internet

Next

Return to Latest Comic Discussion 3: Revenge of the Son of Latest Comic Discussion 2

Who is online

Users browsing this forum: No registered users and 6 guests