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”).

A099119
Conjectured greatest k such that S(k) = S(k-n), or 0 if no k is known, where S is the Kempner function A002034.
3
0, 18, 48, 12, 20, 0, 112, 1800, 45, 90, 2475, 48, 5005, 140, 30, 24, 69632, 90, 235144, 60, 750, 4950
OFFSET
1,2
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}]; Table[If[iTab[[n]]=={}, 0, Last[iTab[[n]]]], {n, nMax}]
CROSSREFS
Cf. A099118 (number of times S(k+n) = S(k)), A099120 (least m such that n = S(k) = S(k+m)).
Sequence in context: A305171 A034132 A218630 * A360589 A105520 A067726
KEYWORD
nonn
AUTHOR
T. D. Noe, Sep 28 2004
STATUS
approved