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!)
A077514 Largest n-digit squarefree number beginning with n. 1
29, 399, 4999, 59999, 699999, 7999999, 89999999, 999999998, 1099999999, 11999999999, 129999999999, 1399999999999, 14999999999999, 159999999999999, 1699999999999999, 17999999999999999, 189999999999999997 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,1

COMMENTS

Let d = n - number of digits in n. Question: Is n*10^d -1 always a squarefree number?

If 9 divides n-1, then 9 divides n*10^d-1, so it is not squarefree. - Enrique Pérez Herrero, Apr 15 2015

LINKS

Table of n, a(n) for n=2..18.

MAPLE

a:= proc(n) local d, k;

     d:= ilog10(n)+1;

     for k from (n+1)*10^(n-d)-1 by -1 do

        if numtheory:-issqrfree(k) then return(k) fi

     od

end proc:

seq(a(n), n=2..50); # Robert Israel, Apr 17 2015

CROSSREFS

Cf. A077513.

Sequence in context: A142327 A160298 A077508 * A210260 A010945 A022624

Adjacent sequences:  A077511 A077512 A077513 * A077515 A077516 A077517

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy, Nov 08 2002

EXTENSIONS

More terms from Sascha Kurz, Jan 04 2003

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 May 23 14:57 EDT 2022. Contains 353975 sequences. (Running on oeis4.)