For any integer n >= 1 the sequence gives the minimum power x for which n^x+(n-1)^x+(n-2)^x+...+1^x produces a perfect square.

A135203

For any integer n >= 1 the sequence gives the minimum power x for which n^x+(n-1)^x+(n-2)^x+...+1^x produces a perfect square.

Terms

    a(0) =1a(1) =3a(2) =3a(3) =3a(4) =3a(5) =3a(6) =3a(7) =1a(8) =3a(9) =3a(10) =3a(11) =3a(12) =3a(13) =3a(14) =3a(15) =3a(16) =3a(17) =3a(18) =3a(19) =3a(20) =3a(21) =3a(22) =3a(23) =2a(24) =3a(25) =3a(26) =3a(27) =3a(28) =3a(29) =3

External references