login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A069707 Squares with property that swapping first and last digits also gives a square. 2

%I

%S 1,4,9,100,121,144,169,400,441,484,676,900,961,1521,1681,1764,4624,

%T 4761,5625,9409,10000,10201,10404,10609,11881,12321,14161,14641,16641,

%U 17161,19321,19881,40000,40401,40804,41209,43264,44944,47524,49284

%N Squares with property that swapping first and last digits also gives a square.

%e 1764 and 4761 both are squares hence both are members.

%t Do[t = IntegerDigits[n^2]; u = t; u[[1]] = t[[ -1]]; u[[ -1]] = t[[1]]; t = FromDigits[u]; If[ IntegerQ[ Sqrt[t]], Print[n^2]], {n, 1, 300}]

%Y Cf. A069706, A069708.

%K nonn,base

%O 1,2

%A _Amarnath Murthy_, Apr 08 2002

%E Edited and extended by _Robert G. Wilson v_

%E Edited by _N. J. A. Sloane_, Jan 20 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 29 01:30 EST 2020. Contains 332353 sequences. (Running on oeis4.)