login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A099118
Conjectured number of times that S(k+n) = S(k), where S is the Kempner function A002034.
3
0, 1, 2, 2, 3, 0, 9, 3, 2, 5, 18, 2, 28, 9, 2, 1, 53, 2, 79, 5, 10, 23
OFFSET
1,3
COMMENTS
Numbers k up to 10^8 have been tested. Tutescu's conjecture is the case n=1.
REFERENCES
L. Tutescu, "On a Conjecture Concerning the Smarandache Function." Abstracts of Papers Presented to the Amer. Math. Soc. 17, 583, 1996.
LINKS
Eric Weisstein's World of Mathematics, Smarandache Function
MATHEMATICA
(*See A002034 for the Kempner function*) nMax=22; iMax=10^6; iTab=Table[{}, {nMax}]; cTab=Table[0, {nMax}]; a=Table[Kempner[i], {i, nMax+1}]; Do[If[a[[i]]==a[[i-n]], cTab[[n]]++; AppendTo[iTab[[n]], i]], {n, nMax}, {i, n+1, nMax+1}]; Do[a=RotateLeft[a]; a[[nMax+1]]=Kempner[i]; Do[If[a[[nMax+1]]==a[[nMax-n+1]], cTab[[n]]++; AppendTo[iTab[[n]], i]], {n, nMax}], {i, nMax+2, iMax}]; cTab
CROSSREFS
Cf. A099119 (greatest k such that S(k) = S(k-n)), A099120 (least m such that n = S(k) = S(k+m)).
Sequence in context: A349384 A127466 A342314 * A320999 A107098 A293837
KEYWORD
nonn
AUTHOR
T. D. Noe, Sep 28 2004
STATUS
approved