user
Euler Project #284


Task

The 3-digit number 376 in the decimal numbering system is an example of numbers with the special property that its square ends with the same digits: **376\*376 = 141376**. Let's call a number with this property a steady square. Find steady squares under **10.000**
assistant
```
.say for ({$++²}…*).kv.grep( {$^v.ends-with: $^k} )[1..10]

```

Output:

```
(1 1)
(5 25)
(6 36)
(25 625)
(76 5776)
(376 141376)
(625 390625)
(9376 87909376)
(90625 8212890625)
(109376 11963109376)
```