There are no reviews yet. Be the first to send feedback to the community and the maintainers!
Repository Details
Input: The input provided (as command line to your project1.scala) will be two numbers: N and k. The overall goal of your program is to find all k consecutive numbers, starting at 1, such that the sum of squares is itself a perfect square (square of an integer). Output: Print, on independent lines, the first number in the sequence for each solution.