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.

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

This page as a plain text file.
%I A279428 #6 Sep 25 2023 12:52:36
%S A279428 17,22,28,104,109,122,126,141,151,164,167,184,192,197,202,207,221,232,
%T A279428 268,279,293,298,303,308,316,1004,1009,1014,1019,1024,1029,1048,1053,
%U A279428 1067,1081,1090,1104,1113,1122,1135,1144,1157,1170,1174,1187,1191,1195,1212
%N A279428 Numbers k such that k^2 has an odd number of digits and the middle digit is 8.
%H A279428 Lars Blomberg, <a href="/A279428/b279428.txt">Table of n, a(n) for n = 1..10000</a>
%e A279428 17^2 = 2(8)9, 164^2 = 26(8)96, 1024^2 = 104(8)576.
%t A279428 ond8Q[n_]:=Module[{n2=IntegerDigits[n^2],len},len=Length[n2];OddQ[len]&&n2[[(len+1)/2]] == 8]; Select[Range[1500],ond8Q] (* _Harvey P. Dale_, Sep 25 2023 *)
%Y A279428 Cf. A279420-A279427, A279429.
%K A279428 nonn,base,easy
%O A279428 1,1
%A A279428 _Lars Blomberg_, Dec 22 2016