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!)
 A080199 a(1)=1; for n>1, a(n)=a(n-1) - 3 if n is already in the sequence, a(n)=a(n-1) + 6 otherwise. 0
 1, 7, 13, 19, 25, 31, 28, 34, 40, 46, 52, 58, 55, 61, 67, 73, 79, 85, 82, 88, 94, 100, 106, 112, 109, 115, 121, 118, 124, 130, 127, 133, 139, 136, 142, 148, 154, 160, 166, 163, 169, 175, 181, 187, 193, 190, 196, 202, 208, 214, 220, 217, 223, 229 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS B. Cloitre, N. J. A. Sloane and M. J. Vandermast, Numerical analogues of Aronson's sequence, J. Integer Seqs., Vol. 6 (2003), #03.2.2. B. Cloitre, N. J. A. Sloane and M. J. Vandermast, Numerical analogues of Aronson's sequence (math.NT/0305308) FORMULA a(n) = 3*n*(1 + 1/log_3(n)) + o(n). MATHEMATICA a[1] = 1; a[n_] := a[n] = If[MemberQ[Array[a, n-1], n], a[n-1]-3, a[n-1]+6]; Array[a, 54] (* Jean-François Alcover, Feb 13 2019 *) CROSSREFS Cf. A080455-A080458, A080036, A080037. Sequence in context: A216527 A059335 A070419 * A016921 A331425 A260682 Adjacent sequences:  A080196 A080197 A080198 * A080200 A080201 A080202 KEYWORD nonn AUTHOR N. J. A. Sloane, Mar 20 2003 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 June 15 12:29 EDT 2021. Contains 345048 sequences. (Running on oeis4.)