login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A279420 Numbers k such that k^2 has an odd number of digits and the middle digit is 0. 24
10, 20, 30, 100, 105, 138, 145, 155, 179, 195, 200, 205, 217, 226, 241, 243, 245, 247, 249, 251, 253, 255, 257, 259, 274, 283, 295, 300, 305, 1000, 1005, 1010, 1015, 1020, 1025, 1030, 1049, 1054, 1068, 1082, 1091, 1100, 1114, 1127, 1136, 1149, 1158, 1162, 1175 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Lars Blomberg, Table of n, a(n) for n = 1..10000

EXAMPLE

10^2 = 1(0)0, 195^2 = 38(0)25, 1000^2 = 100(0)000.

The sequences of squares starts: 100, 400, 900, 10000, 11025, 19044, 21025, 24025, 32041, 38025, 40000, ...

MATHEMATICA

Select[Range@ 1175, Function[w, And[OddQ@ Length@ w, First@ Take[w, {Ceiling[Length[w]/2]}] == 0]]@ IntegerDigits[#^2] &] (* Michael De Vlieger, Dec 12 2016 *)

PROG

(PARI) isok(n) = my(d=digits(n^2)); (#d % 2) && (d[#d\2 + 1] == 0); \\ Michel Marcus, Dec 18 2016

CROSSREFS

Cf. A279421-A279429.

Sequence in context: A093037 A273016 A269238 * A274051 A187712 A130720

Adjacent sequences:  A279417 A279418 A279419 * A279421 A279422 A279423

KEYWORD

nonn,base,easy

AUTHOR

Lars Blomberg, Dec 12 2016

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 08:07 EDT 2021. Contains 343940 sequences. (Running on oeis4.)