Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A077380
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A077380 Largest n-digit squarefree number whose internal as well as external digits form a square-free number, or 0 if no such number exists. +0
5
0, 0, 977, 9977, 99987, 999987, 9999987, 99999977, 999999985, 9999999987, 99999999987, 999999999987, 9999999999987, 99999999999987, 999999999999987, 9999999999999987, 99999999999999987, 999999999999999987 (list; graph; listen)
OFFSET

1,3

MAPLE

with(numtheory) ; A077380 := proc(n) local anmax, leadd, edit, idit ; anmax := 10^n-1 ; while anmax >= 10^(n-1) do leadd := floor(anmax/10^(n-1)) ; edit := 10*leadd + ( anmax mod 10 ); idit := floor(anmax/10) -leadd*10^(n-2) ; if issqrfree(anmax) and issqrfree(edit) and issqrfree(idit) then RETURN(anmax) ; fi ; anmax := anmax-1 ; od ; RETURN(0) ; end: printf("0, ") ; for n from 2 to 30 do printf("%d, ", A077380(n)) ; od ; - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 26 2006

CROSSREFS

Cf. A077376, A077377, A077378, A077379.

Sequence in context: A107555 A030251 A077362 this_sequence A063052 A108904 A091080

Adjacent sequences: A077377 A077378 A077379 this_sequence A077381 A077382 A077383

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Nov 06 2002

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 26 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research