A115431 Numbers k such that the concatenation of k with k-2 gives a square.
6, 5346, 8083, 10578, 45531, 58626, 2392902, 2609443, 7272838, 51248898, 98009803, 159728062051, 360408196038, 523637103531, 770378933826, 998000998003, 1214959556998, 1434212848998, 3860012299771, 4243705560771
Offset: 1
Examples
8083_8081 = 8991^2. 98009803_98009800 = 98999900 * 98999902, where _ denotes concatenation
Links
- Robert Israel, Table of n, a(n) for n = 1..1312
- Robert Israel, Proof that A115431, A116117 and A116135 are the same
Crossrefs
Programs
-
Maple
f:= proc(n) local S; S:= map(t -> rhs(op(t))^2 mod 10^n+2, [msolve(x^2+2,10^n+1)]); op(sort(select(t -> t-2 >= 10^(n-1) and t-2 < 10^n and issqr(t-2 + t*10^n), S))) end proc: seq(f(n),n=1..20); # Robert Israel, Feb 20 2019
Comments