A260410 Find smallest m such that A260409(m+1)-A260409(m) = n; then a(n) = A260409(m).
3276, 21, 2, 18, 6, 5, 7, 44, 1, 3, 23, 30, 19, 16, 78, 10, 26, 27, 4, 183, 9, 57, 260, 58, 138, 84, 59, 80, 208, 281, 147, 476, 49, 11, 282, 192, 114, 290, 553, 222, 851, 1582, 1077, 293, 348, 15, 700, 155, 37, 1234, 1786, 93, 266, 1103
Offset: 0
Keywords
Examples
a(0) = 35407 because A260409(3276) = A260409(3277) = 35407 and the difference is 0. a(8) = 8 because A260409(1) = 8 and A260409(2) = 16 and the difference is 8. a(9) = 18 because A260409(3) = 18 and A260409(4) = 27, which has a difference of 9.
Programs
-
Mathematica
(* first run the Mmca in A260310 and then *) t = Transpose[lst][[2]]; d = Differences[ Transpose[ lst][[2]]]; p = Table[ Position[d, n, 1, 1], {n, 0, 69}] // Flatten; t[[#]] & /@ p
Comments