A099120 Least m such that n = S(k) = S(k+m) for some k, where S is the Kempner function A002034.
3, 4, 5, 2, 7, 32, 27, 8, 11, 26, 13, 48, 19, 4096, 17, 74, 19, 447, 27, 121, 23, 4005, 3125, 169, 177147, 2401, 29, 1203, 31, 134217728, 459, 289, 551, 2684163, 37
Offset: 3
Keywords
Examples
a(6) = 2 because S(k) = 6 for k = 9, 16, 18, 36, 45, 48, 72, 80, 90, 144, 180, 240, 360, 720 and the least difference is 2, between 16 and 18.
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
Crossrefs
Programs
-
Mathematica
(*See A002034 for the Kempner function*) a=Table[Kempner[n], {n, 10!}]; Table[lst=Flatten[Position[a, n]]; mn=Infinity; Do[mn=Min[mn, lst[[i+1]]-lst[[i]]], {i, Length[lst]-1}]; mn, {n, 10}]
Comments