login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A279425
Numbers k such that k^2 has an odd number of digits and the middle digit is 5.
3
16, 112, 150, 163, 166, 169, 172, 186, 211, 218, 227, 242, 244, 246, 248, 250, 252, 254, 256, 258, 273, 282, 289, 314, 1032, 1037, 1042, 1056, 1061, 1075, 1084, 1089, 1098, 1107, 1116, 1125, 1134, 1138, 1147, 1160, 1173, 1177, 1194, 1198, 1219, 1223, 1227
OFFSET
1,1
LINKS
EXAMPLE
16^2 = 2(5)6, 218^2 = 47(5)24, 1075^2 = 115(5)625.
MATHEMATICA
Select[Range[1227], OddQ[len=Length[IntegerDigits[#^2]]]&&Part[IntegerDigits[#^2], (len+1)/2]==5 &] (* Stefano Spezia, Oct 03 2023 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Lars Blomberg, Dec 22 2016
STATUS
approved