As people have been trying to find a script of some sort using the most powerful computers in the world for 60 years to no result, so no one can assist you in this question yet...
Chat with our AI personalities
The Nth term for a triangle number is: 0.5n(n+1)
There is no formula for prime numbers. They form a random sequence.
It is not possible to determine an nth term from a single number.
nth just means some number (as in 8th, 9th, etc.)
A single number, such as 491625 does not define a sequence and so cannot have an nth term.