login
The OEIS is supported by the many generous donors to the OEIS 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
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
Sequence in context: A355695 A273016 A269238 * A274051 A345069 A187712
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)