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!)
A197945 Length of longest prefix of A096095(n) that is also a prefix of A096095(n+1). 2
1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 2, 1, 2, 1, 2, 4, 4, 6, 2, 6, 11, 8, 10, 22, 16, 33, 30, 34, 47, 57, 81, 86, 108, 112, 173, 200, 232, 303, 382, 465, 558, 656, 857, 1051, 1261, 1579, 1972, 2455, 2922, 3594, 4588, 5532, 6839, 8402, 10267, 12976, 15550 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,13
LINKS
EXAMPLE
a(17) = A055642(5161) = 4, as 5161 is the longest common prefix of A096095(17)=5161310711827714 and A096095(18)=51618211410616387511.
PROG
(Haskell)
import Data.List (inits, isPrefixOf)
a197945 n = length $ takeWhile (`isPrefixOf` (show $ a096095 $ n+1)) $
tail $ inits $ show $ a096095 n
CROSSREFS
Cf. A055642.
Sequence in context: A140715 A330690 A263143 * A099986 A166478 A050325
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Oct 19 2011
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 25 13:27 EDT 2024. Contains 371971 sequences. (Running on oeis4.)