17 Dec
2003
17 Dec
'03
11:17 p.m.
This came up at the bay area cyherpunks meeting - I haven't got the full citation, but the orignal paper was by Sherwin Rosen of the University of Chicago; it was published in 1981, under the title "The Economics of Superstars" - I think it might be in: TITLE: Studies in labor markets / edited by Sherwin Rosen. PUBLICATION: Chicago : University of Chicago Press, 1981. DESCRIPTION: ix, 395 p. ; 24 cm. SERIES: Conference report / Universities--National Bureau Committee for Economic Research ; no. 31 Simon (defun modexpt (x y n) "computes (x^y) mod n" (cond ((= y 0) 1) ((= y 1) (mod x n)) ((evenp y) (mod (expt (modexpt x (/ y 2) n) 2) n)) (t (mod (* x (modexpt x (1- y) n)) n))))