fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. // n^2 + n + 41
  8. for(int i = 1; i <= 250000; i++){
  9. double finalNumber = i^2 + i + 41;
  10. int counter = 0;
  11. for(int j = 2; j <= finalNumber; j++){
  12. if(finalNumber % j == 0 && j != finalNumber){
  13. counter++;
  14. }
  15. }
  16. }
  17. }
  18. }
Success #stdin #stdout 2.59s 21728KB
stdin
Standard input is empty
stdout
Standard output is empty