The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation. Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A117846 Given n, define a(n) as follows: let a sequence b(k) be defined by b(k+1)=b(k)+b(k)mod k; b(1)=2n-1. (Here b(k)mod k denotes the least nonnegative residue of b(k) modulo k). Let a(n) be the common value of b(k+1)-b(k) for all large k if such exists; otherwise let a(n) be 0. 1
 97, 1, 2, 2, 316, 2, 3, 3, 3, 4, 12, 4, 4, 12, 11, 11, 316, 11, 316, 316, 6, 316, 316, 316, 316, 97, 316, 316, 13, 316, 13, 13, 13, 13, 8, 13, 13, 12, 13, 13, 13, 13, 13, 13, 14, 14, 316, 14, 316, 316, 316, 97, 9, 97, 97, 13, 10, 10, 11, 10, 14, 11, 12, 12, 97, 12, 97, 132 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Putting b(1)=2n gives essentially the same sequence as putting b(1)=2n-1. It is a plausible conjecture or at least an interesting open problem that a(n) is never zero; that is all the sequences b(k) are arithmetic progressions from some point on. Sequence A073117 is the sequence b(k) with b(1)=1. Do the values a(n) include all positive numbers? LINKS EXAMPLE n=4: b(1)=7 and the sequence b(k) continues 7,8,10,12,14...with b(k+1)-b(k)=2 for all k>3, so a(4)=2. CROSSREFS Cf. A073117. Sequence in context: A133402 A249922 A163494 * A058286 A051330 A106429 Adjacent sequences:  A117843 A117844 A117845 * A117847 A117848 A117849 KEYWORD nonn AUTHOR Alex Abercrombie, Mar 22 2007 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified July 12 13:21 EDT 2020. Contains 335663 sequences. (Running on oeis4.)