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!)
A135215 Maximal number of zero digits in square of number with n digits and without zero digits. 5

%I #5 Mar 31 2012 10:28:28

%S 0,1,3,4,6,7,10,10,12,13,15

%N Maximal number of zero digits in square of number with n digits and without zero digits.

%t (*For a(7) *) mx = 0; Do[Do[Do[Do[Do[Do[Do[k = 10^6b + 10^5q + 10^4r + 10^3p + 10^2s + 10n + m; w = IntegerDigits[k^2]; ile = 0; Do[If[w[[t]] == 0, ile = ile + 1; If[ile > mx, mx = ile]], {t, 1, Length[w]}], {m, 1, 9}], {n, 1, 9}], {s, 1, 9}], {p, 1, 9}], {r, 1, 9}], {q, 1, 9}], {b, 1, 9}]; mx

%Y Cf. A134843, A134844, A134845, A134846, A134847, A134848, A134849.

%K nonn,base

%O 1,3

%A _Artur Jasinski_, Nov 23 2007

%E a(8)-a(11) from _Lars Blomberg_, Jun 26 2011

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 March 28 22:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)