Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var count = 0;
- for (var num = 0; num <= 242400; num++)
- {
- if((num * num + 2 * num) % 303 ==0)
- {
- Console.WriteLine(num);
- count++;
- }
- }
- Console.WriteLine("{0} in total", count);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement