Problem

Provide a J phrase to determine all the times whose display on a 24-hour clock is a prime number.

Constraints

The usual metrics apply: brevity, novelty, velocity and parsimony.

Spoiler Alert!

http://imgs.xkcd.com/comics/factoring_the_time.png

xkcd.com

































Solutions

No.

Phrase

#@;:

#

100&(6!:2)

(7!:2)

Notes

Author/Sig

0

1 1j1 1 1#!.':'"1'r<0>2.'8!:2(#~1 p:100#.])(#:,@i.)24 60

26

56

0.000338163

44608

HH:MM

-- DanBron 2007-11-29 21:13:47

1

1 1j1 1 1j1 1 1#!.':'"1'r<0>2.'8!:2(#~1 p:100#.])(#:,@i.)24 60 60

26

65

0.0262146

2625728

HH:MM:SS

-- DanBron 2007-11-29 21:13:47

2

}:"1'q(:)r(0)3.'8!:2(#~1 p:100&#.)>,{i.&.>24 60

23

47

-- BJonas 2007-12-04 08:28:41

3

}:"1'q(:)r(0)3.'8!:2(#~1 p:100&#.)>,{i.&.>24 60 60

23

50

with seconds

-- BJonas 2007-12-04 08:55:26

4

,&.:(':'&,"1)"2]2 2$"1}.@":@>1e4+(#~1&p:)100#.>,{i.&.>24 60

39

59

-- BJonas 2007-12-04 09:16:01

5

,&.:(':'&,"2)"3":@>10 10#:(#~1 p:100&#.)>,{i.&.>24 60

32

53

-- BJonas 2007-12-04 09:22:27

,.(#~1&p:*.60>100&|)i.2400

16

26

1.8e_4

38848

Just the numbers

-- Raul Miller 2007-12-21 22:11:36

Notes

  1. Changed table header from "Verb" to "Phrase". -- BJonas 2007-12-04 08:28:41

Puzzles/PrimeTime (last edited 2008-12-08 10:45:29 by )