OFFSET
1,2
COMMENTS
Is there any n > 1 with a(n) = 0? This is equivalent to the question of whether there is any prime of the form 10^(2*n)+1 other than 10^(2*1)+1 = 101. If such a prime exists, n must be a power of 2. Up to now no such prime is known.
68 is the smallest n where a(n) is not a power of two minus 2 (a(68)=22) since (10^136)+1 is the smallest integer among the 10^(2*n)+1 which is not squarefree (10^136+1 = 17^2 * P7 * P11 * P117, so tau(10^136+1) = 24).
FORMULA
a(n) = tau(10^(2*n)+1) - 2.
EXAMPLE
a(5) = 6 because 1765038125 = 17650^2 + 38125^2, 2584043776 = 25840^2+43776^2, 7416043776 = 74160^2+43776^2, 8235038125 = 82350^2+38125^2, 9901009901 = 99010^2+09901^2, 99009901 = 00990^2+09901^2 (the last one counts as a 10-digit number). Alternatively: a(5) = tau(10^(2*5)+1) - 2 = tau(101*3541*27961) - 2 = 8 - 2 = 6.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Ulrich Schimke (ulrschimke(AT)aol.com)
STATUS
approved