OFFSET
1,2
LINKS
Alois P. Heinz, Rows n = 1..141, flattened
FORMULA
T(n, k) = A111445(n, k)^2. - Michel Marcus, Sep 16 2013
EXAMPLE
Triangle begins:
1;
4,64;
9,49,169;
16,2116,2916,9216;
25,225,625,1225,2025;
MAPLE
p:=proc(n) local c2, A, k: c2:=proc(x, y) local s: s:=proc(m) nops(convert(m, base, 10)) end: x*10^s(y)+y: end: A:={}: for k from 0 to 10000 do if type(sqrt(c2(k, n^2)), integer)=true then A:=A union {c2(k, n^2)} else A:=A: fi: od: seq(A[j], j=1..n): end: for n from 1 to 10 do p(n) od; # yields sequence in triangular form; c2 concatenates x and y # 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]]]][[2, 1]];
Array[row, 10] // Flatten (* Jean-François Alcover, Dec 07 2019 *)
CROSSREFS
AUTHOR
Amarnath Murthy, Aug 03 2005
EXTENSIONS
More terms from Emeric Deutsch, Aug 05 2005
STATUS
approved