A241418 First differences of Arshon's sequence, cf. A099054.
1, 1, -2, 2, -1, 1, -2, 1, 1, -1, -1, 2, -2, 1, -1, 2, -1, 1, -2, 1, 1, -1, -1, 1, 1, -2, 1, -1, 2, -1, 1, -2, 2, -1, -1, 2, -2, 1, 1, -1, -1, 1, 1, -2, 2, -1, -1, 2, -2, 1, -1, 2, -1, 1, -2, 1, 1, -1, -1, 1, 1, -2, 1, -1, 2, -1, 1, -2, 2, -1, -1, 1, 1, -2
Offset: 0
Keywords
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
Programs
-
Haskell
a241418 n = a241418_list !! n a241418_list = zipWith (-) (tail a099054_list) a099054_list
Comments