A131389 Sequence (d(n)) generated by Rule 1 (see Comments) with a(1) = 1 and d(1) = 0.
0, 1, 2, -1, 3, 4, -2, -3, 6, -4, 5, 7, -5, 8, -6, -7, 9, 10, -8, 11, -10, 12, -9, -11, 13, 14, -13, -12, 15, 16, -14, -15, 17, 18, -16, 19, -17, 20, -19, 21, -18, 22, -20, -21, 24, -22, 23, 25, -23, 26, -25, 27, -24, 28, -26, -27, 30, 29, -31, 32, -28, 31, -29, 33, -30, 34, -32, -33, 35, 36, -34
Offset: 1
Keywords
Examples
See A131388.
Links
- Clark Kimberling, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
(* See A131388. *)
Formula
This is the sequence d( ) in the formula for A131388.
Extensions
Definition clarified by Clark Kimberling, May 12 2015
Comments