Skip to Main Content
(boing!) Cnoocy Mosque O'Witz (
cnoocy
) wrote
2003
-
11
-
24
04:48 pm
Current Mood:
amused
Current Music:
"Automatic Rainy Day" by the Go-Go's
Entry tags:
math
New cnoocy toy
from a Unix prompt:
date +%s | factor
what this does:
gives you the prime factorization of the current Unix timestamp.
I think I need to build this as a desktop clock.
Flat
|
Top-Level Comments Only
no subject
rikchik.livejournal.com
2003-11-24 08:04 pm (UTC)
(
link
)
factor doesn't seem to be in my path on my iMac, but it works on the linux box I ssh to. I had no idea prime numbers were so common, I thought they thinned out after a while.
2 comments
Post a new comment
Flat
|
Top-Level Comments Only
Log in
Account name:
Password:
Remember me
Other options:
Forget your password?
Log in with OpenID?
Close
menu
Log in
Create
Create Account
Display Preferences
Explore
Interests
Directory Search
Site and Journal Search
Latest Things
Random Journal
Random Community
FAQ
Shop
Buy Dreamwidth Services
Gift a Random User
DW Merchandise
Interest
Region
Site and Account
FAQ
Email
no subject