a(0) = 0;
a(1) = 1 because a(1)^2+1 = (0^2 + 1)*2 = 2;
a(2) = 3 because a(2)^2 + 1 = (1^2 + 1)*5 = 2*5;
a(3) = 13 because a(3)^2 + 1 = (3^2+1)*17 =2*5*17;
a(4) = 123 because 123^2 + 1 = (13^2 + 1)*89 = 2*5*17*89;
a(5) = 2903 because 2903^2 + 1 = (123^2+1)*557 = 2*5*17*89*557;
a(6) = 3373867 because 3373867^2+1 = 2 * 5 * 17 * 89 * 557 * 1350709.
|