View Single Post
Posts: 33 | Thanked: 29 times | Joined on Jul 2011 @ Belgium
#3392
Originally Posted by daviss View Post
care to show how u get about 522523?
scala> 2 + 2 + 4 + 8 + 0 + 9 + 1 + 2 + 7
res31: Int = 35

scala> 8 + 4 + 3 + 3 + 5 + 4 + 1 + 3 + 1
res32: Int = 32

scala> 0 + 8 + 6 + 0 + 1 + 5 + 2 + 0
res33: Int = 22

scala> 3 + 3 + 7 + 6 + 4 + 9 + 5 + 6 + 7 + 5
res34: Int = 55

scala> 0 + 3 + 9 + 9 + 3 + 3 + 1 + 4 + 1 + 2 + 7
res35: Int = 42

scala> 2 + 8 + 7 + 3 + 4 + 4 + 5 + 1 + 1 + 8
res36: Int = 43


If you mod 10 every number u get '522523' (fyi, mod is taking the remainder after dividing by a certain number, just in case)