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!)
A328782 Integers k such that k and k^2 contain the same number > 0 of digits zero in their decimal expansion. 4
0, 104, 105, 203, 205, 302, 303, 305, 402, 403, 405, 504, 505, 506, 507, 508, 509, 601, 602, 603, 605, 609, 701, 702, 703, 705, 708, 709, 801, 802, 803, 805, 901, 902, 903, 905, 906, 1006, 1007, 1008, 1009, 1011, 1012, 1013, 1014, 1016, 1017, 1018, 1019, 1021 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
703 and 494209 = 703^2 both have one zero digit in their decimal expansion.
MAPLE
f:= n-> numboccur(0, convert(n, base, 10)):
q:= n-> ((x, y)-> x>0 and x=y)(f(n), f(n^2)):
select(q, [$0..1030])[]; # Alois P. Heinz, Oct 28 2019
MATHEMATICA
Select[Range[0, 1100], DigitCount[#, 10, 0] == DigitCount[#^2, 10, 0] > 0 &] (* Giovanni Resta, Feb 27 2020 *)
CROSSREFS
Equals A328781 \ A052040.
Sequence in context: A054904 A117845 A286812 * A163554 A045208 A366552
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Oct 28 2019
EXTENSIONS
More terms from Alois P. Heinz, Oct 28 2019
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 11:49 EDT 2024. Contains 371936 sequences. (Running on oeis4.)