

A045878


Numbers k such that rotating digits of k^2 left once still yields a square.


4



1, 2, 3, 12, 14, 25, 108, 122, 216, 310, 1222, 2028, 2527, 3042, 11802, 12222, 13704, 24865, 25185, 26053, 30494, 122222, 208148, 247137, 312222, 1125786, 1222222, 1325080, 2084388, 2551071, 3025794, 3037736, 3126582, 10716846, 10787208
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

Squares resulting in leading zeros are excluded.


LINKS

Table of n, a(n) for n=1..35.
Eric Weisstein's World of Mathematics, Square Number


EXAMPLE

11303148^2 = {1}27761154709904 > 277611547099041{1} = 16661679^2.


MATHEMATICA

rlsQ[n_]:=Module[{idnrl=RotateLeft[IntegerDigits[n^2]]}, First[idnrl]>0 && IntegerQ[Sqrt[FromDigits[idnrl]]]]; Select[Range[11000000], rlsQ] (* Harvey P. Dale, Nov 03 2013 *)


CROSSREFS

Cf. A000290, A045877, A035129.
Sequence in context: A291565 A299545 A068603 * A295398 A138321 A015756
Adjacent sequences: A045875 A045876 A045877 * A045879 A045880 A045881


KEYWORD

nonn,base


AUTHOR

Erich Friedman


EXTENSIONS

More terms from Patrick De Geest, Nov 15 1998


STATUS

approved



