170! Is 170 Factorial Google's limit?
That's a big number!
Apparently the largest number google is willing to cache/calculate via the factorial function is 170.
But who says you have to stop there :) Even larger numbers await!
How about:
170!+170!*2
More Google calculator fun:
Binary arithmetic and base conversion via google:
Binary 0101 plus Binary 0100
0b101+0b100 in decimal
0b101+0b100 in hex
Cleverly, Google chose to prfeix octal (base 8) numbers
with 0o.
Always pays to read the google manual :)
The ZeroOh octal prefix avoids two problems.
The first problem with a leading zero is an octal prefix as in AWK, so 011 is 8 rather than 11 as seen in:
$ awk 'BEGIN { print 2+11; print 2+011;}'
13
11
$
The second problem is vanishing leading zeroes. This problem plagues the northeastern US ZIP codes that get tossed into Excel. 06612 becomes 6612. Wow! Look a 4 digit ZIP code :(
Putting Northeast ZIP codes through awk is even worse:
$ awk 'BEGIN { print "06612"; print 6612; print 06612;}'
06612
6612
3466
$
ZIP+4 zipcode makes things even worse :) First octal, now subtraction!!!
$ awk 'BEGIN { print "066121601"; print 66121601; print 066121601;}'
066121601
5011
1865
$
Oh, a good way to make a scientific calculator seem dead is force it to take a very long time to calculate something. Try to calculate things like 69!
Enjoy,
Chris
