Sequence & Its Terms' Differences

Don Reble djr at nk.ca
Sun Mar 9 03:16:27 CET 2003


> a(1) = 1;
> 
> For m >= 2,
> a(m) = lowest positive integer not in {a(1),a(2),...,a(m-1)} such that
> |a(m) -a(m-1)| is a positive integer not in 
> {|a(2)-a(1)|,|a(3)-a(2)|,...,|a(m-1)-a(m-2)|}.

I don't see it in the OEIS, but it's similar to A005132, A063733,
A072007, and A078783.

For the sequence values, I get
1 2 4 7 3 8 14 5 12 20 6 16 27 9 21 34 10 25 41 11 28 47 13
33 54 15 37 60 17 42 68 18 45 73 19 48 79 22 55 23 58 94 24
61 99 26 66 107 29 71 115 30 75 121 31 78 126 32 81 132 35
87 140 36 91 147 38 96 155 39 100 40 102 165 43 108 44 110
177 46 114 183 49 120 192 50 124 199 51 127 204 52 131 211
53 134 216 56 139 223 57 143 230 59 148 236 62 153 245 63
156 251 64 160 258 65 164 264 67 168 270 69 172 277 70 176
283 72 180 290 74 185 297 76 189 303 77 194 309 80 198 317
82 202 323 83 206 330 84 209 335 85 212 340 86 215 345 88

and for the inverse,
1 2 5 3 8 11 4 6 14 17 20 9 23 7 26 12 29 32 35 10 15 38 40
43 18 46 13 21 49 52 55 58 24 16 61 64 27 67 70 72 19 30 75
77 33 80 22 36 83 86 89 92 95 25 39 98 101 41 104 28 44 107
110 113 116 47 119 31 122 125 50 128 34 131 53 134 137 56 37
140 59 143 146 149 152 155 62 158 161 164 65 167 170 42 173
68 176 179 45 71 182 73 185 188 191 194 48 76 197 78 200 203
206 81 51 209 212 215 217 84 54 220 223 87 225 57 90 228 231
233 93 60 236 96 239 242 244 247 99 63 250 252 102 255 258
261 66 105 264 267 269 272 108 275 69 111 278 281 284 114

--
Don Reble       djr at nk.ca





More information about the SeqFan mailing list