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!)
A065807 Squares with a smaller square as final digits. 3
49, 64, 81, 100, 121, 144, 169, 225, 289, 324, 361, 400, 441, 484, 529, 625, 729, 784, 841, 900, 961, 1024, 1089, 1225, 1369, 1444, 1521, 1600, 1681, 1764, 1849, 1936, 2025, 2116, 2209, 2304, 2401, 2500, 2601, 2704, 2809, 2916, 3025, 3136, 3249, 3364 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

MATHEMATICA

ds[n_] := NestWhileList[FromDigits[Rest[IntegerDigits[#]]] &, n, # > 9 &]; Select[Range[4, 58]^2, Or @@ IntegerQ /@ Sqrt[Rest[ds[#]]] &] (* Jayanta Basu, Jul 10 2013 *)

PROG

(PARI) a065807(m) = local(a, b, d, j, k, n); for(k=1, m, a=length(Str(n))-1; b=1; j=1; n=k^2; while(b, d=divrem(n, 10^j); if(d[1]>0&&issquare(d[2]), b=0; print1(n, ", "), if(j<a, j++, b=0))))

a065807(60)

(PARI) isokend(n) = my(p=10); for(k=1, #Str(n)-1, if (issquare(n % p), return (1)); p*=10);

isok(n) = issquare(n) && isokend(n); \\ Michel Marcus, Mar 17 2020

CROSSREFS

A065808 gives the corresponding square roots.

Cf. A038678.

Cf. A065689, A050634, A050636, A050638, A065776, A061839, A065782, A065785, A065788, A065791.

Sequence in context: A038640 A326151 A216165 * A038678 A225120 A308250

Adjacent sequences:  A065804 A065805 A065806 * A065808 A065809 A065810

KEYWORD

nonn,base,easy

AUTHOR

Klaus Brockhaus, Nov 22 2001

EXTENSIONS

Changed offset from 0 to 1 by Vincenzo Librandi, Sep 24 2013

STATUS

approved

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 September 23 10:42 EDT 2021. Contains 347612 sequences. (Running on oeis4.)