A277961 Numbers n such that 4 is the largest decimal digit of n^2.
2, 12, 18, 20, 21, 32, 38, 48, 49, 102, 120, 152, 179, 180, 182, 200, 201, 210, 318, 320, 321, 332, 338, 348, 362, 380, 451, 452, 462, 480, 482, 490, 548, 549, 649, 1002, 1012, 1020, 1021, 1049, 1102, 1111, 1188, 1200, 1201, 1429, 1488, 1498, 1518, 1520
Offset: 1
Links
- Colin Barker, Table of n, a(n) for n = 1..1000
Programs
-
Maple
select(n -> max(convert(n^2,base,10))=4, [$1..10000]); # Robert Israel, Nov 13 2017
-
PARI
L=List(); for(n=1, 10000, if(vecmax(digits(n^2))==4, listput(L, n))); Vec(L)
Comments