A266509 Terms of A256263 repeated.
0, 0, 1, 1, 1, 1, 3, 3, 1, 1, 3, 3, 5, 5, 7, 7, 1, 1, 3, 3, 5, 5, 7, 7, 5, 5, 11, 11, 17, 17, 15, 15, 1, 1, 3, 3, 5, 5, 7, 7, 5, 5, 11, 11, 17, 17, 15, 15, 5, 5, 11, 11, 17, 17, 23, 23, 29, 29, 35, 35, 41, 41, 31, 31, 1, 1, 3, 3, 5, 5, 7, 7, 5, 5, 11, 11, 17, 17, 15, 15, 5, 5, 11, 11, 17, 17, 23, 23, 29, 29
Offset: 1
Examples
Written as an irregular triangle in which the row lengths are twice the terms of A011782 the sequence begins: 0,0; 1,1; 1,1,3,3; 1,1,3,3,5,5,7,7; 1,1,3,3,5,5,7,7,5,5,11,11,17,17,15,15; 1,1,3,3,5,5,7,7,5,5,11,11,17,17,15,15,5,5,11,11,17,17,23,23,29,29,35,35,41,41,31,31; ... Row sums give 0 together with A004171.
Links
- Ivan Neretin, Table of n, a(n) for n = 1..8192
Crossrefs
Programs
-
Mathematica
Riffle[#, #] &@ Flatten@Join[{0}, NestList[Join[#, Range[Length[#] - 1]*6 - 1, {2 #[[-1]] + 1}] &, {1}, 5]] (* Ivan Neretin, Feb 14 2017 *)
Comments