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!)
A052192 Smallest a(n) for which n*a(n) has no isolated digits. 2
11, 11, 11, 11, 11, 11, 11, 11, 11, 110, 1, 37, 88, 242, 37, 143, 66, 37, 121, 55, 37, 1, 99, 37, 44, 44, 37, 121, 77, 110, 143, 209, 1, 33, 33, 33, 3, 88, 143, 55, 55, 132, 77, 1, 99, 121, 165, 706, 678, 22, 22, 22, 22, 22, 1, 99, 1169, 77, 132, 55, 55, 143, 88, 121 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) = A052191(n) / n.
LINKS
EXAMPLE
a(23)=99 since 23*99=2277 and all the digits of 2277 have a neighboring digit which is the same.
MATHEMATICA
isol[n_ ] := Module[{}, L={11}~Join~IntegerDigits[n ]~Join~{11}; l=Length[L ]; Apply[And, Table[L[[i ] ]==L[[i-1 ] ]||L[[i ] ]==L[[i+1 ] ], {i, 2, l-1} ] ] ] a[n_ ] := a[n ]=Module[{}, m=0; While[Not[isol[m ] ], m=m+n ]; m ] Table[a[i ], {i, 1, 100} ]/Range[100 ]
PROG
(Haskell)
import Data.List (group, findIndex)
import Data.Maybe (fromJust)
a052192 n = fromJust $
findIndex ((> 1) . minimum . map length . group . show) $ [0, n..]
-- Reinhard Zumkeller, Sep 15 2011
CROSSREFS
Sequence in context: A113587 A083971 A240453 * A110733 A090862 A291498
KEYWORD
base,easy,nice,nonn,look
AUTHOR
Erich Friedman, Jan 28 2000
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 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)