[Jprogramming] 11:11:11 repunits
John Baker
bakerjd99 at gmail.com
Sat Nov 12 01:07:16 HKT 2011
Today's date 11:11:11 is generating some interesting internet items. I saw
a cute blog posting about "repunits"
http://mathlesstraveled.com/2011/11/11/fun-with-repunit-divisors/
The following j expressions generate the table shown in the blog posting.
I couldn't come up with anything more elegant.
repunits=. 'x' ,~&.> (2 + i. 19) #&.> '1'
repunits ,. q:@". &.> repunits
--
John D. Baker
bakerjd99 at gmail.com
More information about the Programming
mailing list