[2013-Feb-01]

Blame Quintushalls for this.

Moderators: NeatNit, Kimra

Rant_423
Posts: 2
Joined: Fri Feb 01, 2013 5:34 pm

[2013-Feb-01]

Post by Rant_423 »

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)

epidemian
Posts: 2
Joined: Sat Feb 02, 2013 7:30 am

Re: 2013 Feb 01

Post by epidemian »

Someone made a code-golfing contest inspired by this comic here: http://codegolf.stackexchange.com/quest ... as-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

Post by epidemian »

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 ... -xvfz-work.

Jan-Maarten

Re: 2013 Feb 01

Post by Jan-Maarten »

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.

Hock
Posts: 1
Joined: Sat Feb 02, 2013 12:06 pm

Re: 2013 Feb 01

Post by Hock »

FUN FACT!

If x=(5^n)-1

Where n is a natural number >1

Then x is fouriest in base five.

User avatar
Lethal Interjection
Death by Elocution
Posts: 8048
Joined: Wed Oct 12, 2005 2:17 pm
Location: Behind your ear. It's magic!
Contact:

Re: 2013 Feb 01

Post by Lethal Interjection »

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
Apocalyptus
Not what you were expecting
Posts: 5278
Joined: Tue Jun 02, 2009 2:00 pm
Location: Melbourne

Re: 2013 Feb 01

Post by Apocalyptus »

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
Kimra
He-Man in a Miniskirt
Posts: 6850
Joined: Tue Jun 02, 2009 10:18 am
Location: meanwhile elsewhere

Re: 2013 Feb 01

Post by Kimra »

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
Apocalyptus
Not what you were expecting
Posts: 5278
Joined: Tue Jun 02, 2009 2:00 pm
Location: Melbourne

Re: 2013 Feb 01

Post by Apocalyptus »

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
Lethal Interjection
Death by Elocution
Posts: 8048
Joined: Wed Oct 12, 2005 2:17 pm
Location: Behind your ear. It's magic!
Contact:

Re: 2013 Feb 01

Post by Lethal Interjection »

We all know those are rohipnol.

User avatar
Apocalyptus
Not what you were expecting
Posts: 5278
Joined: Tue Jun 02, 2009 2:00 pm
Location: Melbourne

Re: 2013 Feb 01

Post by Apocalyptus »

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
GUTCHUCKER
Gotchucker's less handsome twin
Posts: 2126
Joined: Wed Dec 01, 2010 2:26 am
Location: Paradise City?

Re: 2013 Feb 01

Post by GUTCHUCKER »

Depends on where you wake up.
Datanazush wrote:I ship Mohammed and Jehova.

User avatar
Lethal Interjection
Death by Elocution
Posts: 8048
Joined: Wed Oct 12, 2005 2:17 pm
Location: Behind your ear. It's magic!
Contact:

Re: 2013 Feb 01

Post by Lethal Interjection »

Apocalyptus wrote:Hey, there's nothing less stressful than losing consciousness, right?
No cares in the world!

Michael May

Re: 2013 Feb 01

Post by Michael May »

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.

User avatar
Edminster
Tested positive for Space-AIDS
Posts: 8832
Joined: Fri Sep 09, 2005 9:53 pm
Location: Internet
Contact:

Re: 2013 Feb 01

Post by Edminster »

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

Post Reply