## Search found 3 matches

Mon Nov 14, 2011 12:09 pm
Forum: Volume 6 (600-699)
Topic: 657 - The die is cast
Replies: 46
Views: 21811

### Re: 657 - The die is cast

Many thanks!!! Just what i needed!! Nice that the problem was finally solved and i can start doing something else
Fri Nov 11, 2011 12:32 pm
Forum: Volume 101 (10100-10199)
Topic: 10162 - Last Digit
Replies: 21
Views: 8754

### Re: 10162 - Last Digit

There are a few simple observations right away. 1^1, 1^11, 1^21, etc. will all end in 1. Similarly, all powers of 5 and 6 end in 5 or 6. What about the other numbers? It turns out that if you look at i^i, i^(10+i), i^(20+i), etc. you can find a cycle for the last digit of each 0 <= i <= 9. The cycle...
Thu Nov 10, 2011 12:50 pm
Forum: Volume 103 (10300-10399)
Topic: 10392 - Factoring Large Numbers
Replies: 14
Views: 7803

### Re: 10392 - Factoring Large Numbers

Each positive number from the input must be factored and all factors (other than 1) printed out. The factors must be printed in ascending order with 4 leading spaces preceding a left justified number, and followed by a single blank line.