object LPrimeFactor { def main(arg:Array[String]):Unit = { start(13195) start(600851475143) } def start(until:Long){ var all_prime_fac:Array[Int] = Arra
Pass the argument as a Long (notice the L at the end of the number):
Long
L
start(600851475143L) // ^