The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A135986 a(1)=1; a(n) = a(n-1) + d(n) if d(n) > d(n-1); a(n) = a(n-1) - d(n) if d(n) < d(n-1); a(n) = a(n-1) if d(n) = d(n-1), where d = A000005. 0
1, 3, 3, 6, 4, 8, 6, 10, 7, 11, 9, 15, 13, 17, 17, 22, 20, 26, 24, 30, 26, 26, 24, 32, 29, 33, 33, 39, 37, 45, 43, 49, 45, 45, 45, 54, 52, 56, 56, 64, 62, 70, 68, 74, 74, 70, 68, 78, 75, 81, 77, 83, 81, 89, 85, 93, 89, 89, 87, 99, 97, 101, 107, 114, 110, 118, 116, 122, 118 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
a = {1}; For[n = 2, n < 70, n++, If[DivisorSigma[0, n] > DivisorSigma[0, n - 1], AppendTo[a, a[[ -1]] + DivisorSigma[0, n]], If[DivisorSigma[0, n] < DivisorSigma[ 0, n - 1], AppendTo[a, a[[ -1]] - DivisorSigma[0, n]], AppendTo[a, a[[ -1]]]]]]; a (* Stefan Steinerberger, Oct 20 2008 *)
CROSSREFS
Cf. A000005.
Sequence in context: A023827 A199153 A182627 * A334848 A284614 A349392
KEYWORD
nonn
AUTHOR
Leroy Quet, Mar 02 2008
EXTENSIONS
More terms from Stefan Steinerberger, Oct 20 2008
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 04:28 EDT 2024. Contains 372666 sequences. (Running on oeis4.)