OFFSET
1,2
LINKS
Alois P. Heinz, Rows n = 1..141, flattened
FORMULA
a(n) = A111444(n)^(1/2). - Michel Marcus, Sep 16 2013
EXAMPLE
Triangle begins:
1;
2, 8;
3, 7, 13;
4, 46, 54, 96;
5, 15, 25, 35, 45;
MAPLE
p:=proc(n) local A, k: A:={}: for k from n to 3000 do if type((k^2-n^2)/10^(nops(convert(n^2, base, 10))), integer)=true then A:=A union {k} else A:=A: fi od: seq(A[j], j=1..n): end: for n from 1 to 11 do p(n) od; # yields sequence in triangular form, Emeric Deutsch, Aug 05 2005
MATHEMATICA
row[n_] := Reap[For[k = n; cnt = 0, cnt < n, k++, idn = IntegerDigits[n^2] // Reverse; idk = IntegerDigits[k^2] // Reverse; If[idk[[;; Length[idn]]] == idn, cnt++; Sow[k]]]][[2, 1]];
Array[row, 11] // Flatten (* Jean-François Alcover, Dec 08 2019 *)
CROSSREFS
AUTHOR
Amarnath Murthy, Aug 03 2005
EXTENSIONS
More terms from Emeric Deutsch, Aug 05 2005
STATUS
approved