Code for now:
Imports System.Numerics
Module Module1
Dim fact As BigInteger = 1
Dim square As BigInteger
Dim count As BigInteger = 2
Sub Main()
Console.ForegroundColor = ConsoleColor.Yellow
For n As BigInteger = 1 To (count * count)
For c As BigInteger = 1 To n
fact = fact * c
Next
square = n + 1
If ((square * square) - 1 = fact) Then
Console.Write("Found! ")
Console.Write((count - 1))
Console.Write(",")
Console.Write(square)
End If
fact = 1
count = count + 1
Next
End Sub
End Module

New Topic/Question
Reply




MultiQuote










|