A260824 Least positive integer b such that b^(2^n)+1 is not squarefree.
3, 7, 110, 40, 392, 894, 315, 48
Offset: 0
Examples
a(1) = A049532(1) = 7. For n=4, we consider b^16+1. The first time it is not squarefree is for b=392, where 392^16+1 is divisible by 769^2. So a(4)=392.
Programs
-
PARI
a(n) = for(b=1,10^42, !issquarefree(b^(2^n)+1) & return(b) );
-
Python
from sympy.ntheory.factor_ import core def a(n): b, pow2, t = 1, 2**n, 2 while core(t, 2) == t: b += 1 t = b**(pow2) + 1 return b print([a(n) for n in range(4)]) # Michael S. Branicky, Mar 07 2021
Formula
a(n) = A248214(2^n).
Extensions
Edited and a(5)-a(7) added by Max Alekseyev, Feb 20 2018
Comments