cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A279425 Numbers k such that k^2 has an odd number of digits and the middle digit is 5.

Original entry on oeis.org

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

Views

Author

Lars Blomberg, Dec 22 2016

Keywords

Examples

			16^2 = 2(5)6, 218^2 = 47(5)24, 1075^2 = 115(5)625.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[1227], OddQ[len=Length[IntegerDigits[#^2]]]&&Part[IntegerDigits[#^2], (len+1)/2]==5 &] (* Stefano Spezia, Oct 03 2023 *)