login
A279427
Numbers k such that k^2 has an odd number of digits and the middle digit is 7.
3
24, 26, 113, 137, 144, 154, 181, 189, 214, 223, 234, 266, 277, 286, 311, 1033, 1038, 1043, 1057, 1062, 1071, 1076, 1085, 1099, 1108, 1117, 1126, 1139, 1148, 1152, 1161, 1165, 1178, 1182, 1199, 1203, 1228, 1232, 1236, 1240, 1244, 1248, 1252, 1256, 1260, 1264
OFFSET
1,1
LINKS
EXAMPLE
24^2 = 5(7)6, 223^2 = 49(7)29, 1152^2 = 132(7)104.
MATHEMATICA
Select[Range[1264], OddQ[len=Length[IntegerDigits[#^2]]]&&Part[IntegerDigits[#^2], (len+1)/2]==7 &] (* Stefano Spezia, Oct 03 2023 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Lars Blomberg, Dec 22 2016
STATUS
approved