A248214 Least integer b > 0 such that b^n + 1 is not squarefree.
3, 7, 2, 110, 3, 7, 3, 40, 2, 2, 3, 110, 3, 7, 2, 392, 3, 7, 3, 110, 2, 7, 3, 40, 3, 5, 2, 110, 3, 2, 3, 894, 2, 4, 3, 110, 3, 7, 2, 40, 3, 7, 3, 110, 2, 7, 3, 107, 3, 2, 2, 110, 3, 7, 2, 40, 2, 7, 3, 110, 3, 7, 2, 315, 3, 7, 3, 2, 2, 2, 3, 40, 3, 6, 2, 110, 3, 2
Offset: 1
Keywords
Examples
For n = 12, we have that 110^12 + 1 is divisible by a (nonunit) square (namely by 5^2), and since 110 is minimal with this property, a(12) = 110. For n=32, we have that 894^32 + 1 is divisible by 193^2, and there is no b < 894 such that b^32 + 1 would be divisible by a square > 1. (Conjectural: no factor p^2 with p < 10^6 for any b < 894.) - _M. F. Hasler_, Oct 08 2014
Programs
-
PARI
for(n=1,1000,b=1;while(issquarefree(b^n+1),b++);print1(b,","))
-
PARI
a(n,bound=b->n*b*20)=for(b=1,9e9,forprime(p=1,bound(b),Mod(b,p^2)^n+1||return(b))) \\ The given default search bound is experimental; might yield only an upper bound as result. You may use, e.g., a(n,b->10^5), for a constant bound. - M. F. Hasler, Oct 08 2014
Extensions
More terms from M. F. Hasler, Oct 08 2014
Comments