John Baker-11 wrote: > > 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 > [email protected] > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > Problem 1. posted there asks to find a repunit divisible by 2011. One such repunit has 827160570 digits (I'm not posting how to find it not to spoil the fun.)
-- View this message in context: http://old.nabble.com/11%3A11%3A11-repunits-tp32827030s24193p32837629.html Sent from the J Programming mailing list archive at Nabble.com. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
