OFFSET
1,1
COMMENTS
Essentially the same as A070155, since m^4-1=(m-1)(m+1)(1+m^2). - R. J. Mathar, Jun 14 2008
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
A129292(a(n)) = #{1, a(n)-1} = 2.
EXAMPLE
{1,5,7,35,37,185,259,1295} is the set of divisors of 6^4-1, therefore 6 is a term, A129292(6) = #{1,3} = 2.
PROG
(PARI) is(k) = k == 3 || (isprime(k-1) && isprime(k+1) && isprime(k^2+1)); \\ Amiram Eldar, Apr 15 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 09 2007
STATUS
approved