Search found 7 matches

by Fat Pigeon
Tue Jul 12, 2011 9:35 pm UTC
Forum: Coding
Topic: Command line challenges
Replies: 37
Views: 6459

Re: Command line challenges

A solution for #1 relying on the Doomsday Rule instead of the cal function.


Code: Select all

for y in {2000..2600}; do t=`expr $y + 2 + $y / 4 - $y / 100 + $y / 400`; t=`expr $t % 7`; if [ $t -eq 1 ]; then echo $y `expr $y + 400`; fi; done
by Fat Pigeon
Tue Feb 22, 2011 2:14 am UTC
Forum: Mathematics
Topic: Solve for a(t) in this equation
Replies: 6
Views: 943

Re: Solve for a(t) in this equation

The equation has something to do with determining whether or not an event horizon exists. The a(t) is a scale factor that apparently gives a distance between two objects moving with Hubble flow. Both of those Wikipedia pages look pretty mysterious to me and I don't think either would help in actuall...
by Fat Pigeon
Fri Jan 28, 2011 10:50 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0853: "Consecutive Vowels"
Replies: 159
Views: 44088

Re: 0853: "Consecutive Vowels"

What's with the graph? The function doesn't seem to increase exponentially until past 15-or-so points along the x-axis. Because the number of vowels can only be a natural number, it'd practically take a paragraph of consecutive vowels to reach the upper portions of the graph. The outliers around the...
by Fat Pigeon
Fri Nov 26, 2010 5:55 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0826: "Guest Week: Zach Weiner (SMBC)"
Replies: 91
Views: 28482

Re: 0826: "Guest Week: Zach Weiner (SMBC)"

The first thing this comic made me think of was the Look Around You show and how scarring it would be to actually show such a thing to a classroom of young children. This comic was great--the expansive scope, the terrible great puns, were just as groan-inducing great as an SMBC-xkcd crossover should...
by Fat Pigeon
Wed Jun 23, 2010 12:02 am UTC
Forum: Forum Games
Topic: Word Puzzle
Replies: 115
Views: 16438

Re: Word Puzzle

by Fat Pigeon
Thu Apr 22, 2010 2:36 am UTC
Forum: Logic Puzzles
Topic: Math Class problem
Replies: 11
Views: 2795

Re: Math Class problem

Perhaps you could manipulate terms of the Fibonacci sequence to reach the terms in your series?
by Fat Pigeon
Mon Dec 21, 2009 8:02 am UTC
Forum: Logic Puzzles
Topic: Is This Even Possible?
Replies: 77
Views: 27304

Re: Is This Even Possible?

I think I might have somehow oversimplified the problem because I think this works and I'm working it out at 3 AM, so I might have mangled my answer a tad. First question: Ask each daemon if he is a liar. The liar and truthteller will say "no." The random will answer "yes" or &qu...

Go to advanced search