A287806
Number of senary sequences of length n such that no two consecutive terms have distance 1.
Original entry on oeis.org
1, 6, 26, 114, 500, 2194, 9628, 42252, 185422, 813722, 3571010, 15671340, 68773514, 301811860, 1324498252, 5812546998, 25508302906, 111942925778, 491260382084, 2155891150146, 9461106209228, 41519967599596, 182209952129086, 799626506818554, 3509152727035810
Offset: 0
For n=2 the a(2)=26=36-10 sequences contain every combination except these ten: 01,10,12,21,23,32,34,43,45,54.
Cf.
A040000,
A003945,
A083318,
A078057,
A003946,
A126358,
A003946,
A055099,
A003947,
A015448,
A126473.
A287804-
A287819.
-
LinearRecurrence[{5, -2, -3}, {1, 6, 26, 114}, 40]
-
def a(n):
if n in [0, 1, 2, 3]:
return [1, 6, 26, 114][n]
return 5*a(n-1)-2*a(n-2)-3*a(n-3)
A287807
Number of senary sequences of length n such that no two consecutive terms have distance 2.
Original entry on oeis.org
1, 6, 28, 132, 624, 2952, 13968, 66096, 312768, 1480032, 7003584, 33141312, 156826368, 742110336, 3511703808, 16617560832, 78635142144, 372105487872, 1760822074368, 8332299518976, 39428864667648, 186579390892032, 882903157346304, 4177942598725632
Offset: 0
For n=2 the a(2)=28=36-8 sequences contain every combination except these eight: 02,20,13,31,24,42,35,53.
Cf.
A040000,
A003945,
A083318,
A078057,
A003946,
A126358,
A003946,
A055099,
A003947,
A015448,
A126473.
A287804-
A287819.
-
LinearRecurrence[{6, -6}, {1, 6, 28}, 40]
-
def a(n):
if n in [0, 1, 2]:
return [1, 6, 28][n]
return 6*a(n-1)-6*a(n-2)
A287808
Number of septenary sequences of length n such that no two consecutive terms have distance 1.
Original entry on oeis.org
1, 7, 37, 197, 1049, 5587, 29757, 158491, 844153, 4496123, 23947233, 127547675, 679344041, 3618320227, 19271886609, 102645866251, 546712113769, 2911896468083, 15509334488577, 82605772190267, 439974623297369, 2343391557436483, 12481365289466289
Offset: 0
For n=2 the a(2)=37=49-12 sequences contain every combination except these twelve: 01,10,12,21,23,32,34,43,45,54,56,65.
Cf.
A040000,
A003945,
A083318,
A078057,
A003946,
A126358,
A003946,
A055099,
A003947,
A015448,
A126473.
A287804-
A287819.
-
LinearRecurrence[{7, -8, -6, 6}, {1, 7, 37, 197, 1049}, 40]
-
def a(n):
if n in [0,1,2,3,4]:
return [1, 7, 37, 197, 1049][n]
return 7*a(n-1)-8*a(n-2)-6*a(n-3)+6*a(n-4)
A287809
Number of septenary sequences of length n such that no two consecutive terms have distance 2.
Original entry on oeis.org
1, 7, 39, 219, 1231, 6921, 38913, 218789, 1230147, 6916539, 38888455, 218651553, 1229375193, 6912200477, 38864063403, 218514412227, 1228604118319, 6907865088537, 38839687552689, 218377358251349, 1227833528067027, 6903532420748427, 38815326992539159
Offset: 0
For n=2 the a(2)=49-10=39 sequences contain every combination except these ten: 02,20,13,31,24,42,35,53,46,64.
Cf.
A040000,
A003945,
A083318,
A078057,
A003946,
A126358,
A003946,
A055099,
A003947,
A015448,
A126473.
A287804-
A287819.
-
LinearRecurrence[{6, 0, -13, 6}, {1, 7, 39, 219, 1231}, 40]
-
def a(n):
if n in [0, 1, 2, 3, 4]:
return [1, 7, 39, 219, 1231][n]
return 6*a(n-1)-13*a(n-3)+6*a(n-4)
A287810
Number of septenary sequences of length n such that no two consecutive terms have distance 3.
Original entry on oeis.org
1, 7, 41, 241, 1417, 8333, 49005, 288193, 1694833, 9967141, 58615749, 344713305, 2027224169, 11921900829, 70111496093, 412318635697, 2424804301985, 14260029486677, 83861794865077, 493182755657289, 2900358033942041, 17056713010658765, 100308808541321741
Offset: 0
For n=2 the a(2) = 49-8 = 41 sequences contain every combination except these eight: 03, 30, 14, 41, 25, 52, 36, 63.
Cf.
A040000,
A003945,
A083318,
A078057,
A003946,
A126358,
A003946,
A055099,
A003947,
A015448,
A126473.
-
LinearRecurrence[{6, 1, -10}, {1, 7, 41, 241}, 40]
-
def a(n):
if n in [0, 1, 2, 3]:
return [1, 7, 41, 241][n]
return 6*a(n-1)+a(n-2)-10*a(n-3)
A287812
Number of octonary sequences of length n such that no two consecutive terms have distance 1.
Original entry on oeis.org
1, 8, 50, 314, 1972, 12386, 77796, 488636, 3069120, 19277130, 121079578, 760500364, 4776699874, 30002433636, 188445170924, 1183623397912, 7434334035874, 46695023649050, 293291264969380, 1842161313673506, 11570608166423524, 72674945645197500
Offset: 0
For n=2 the a(2) = 64 - 14 = 50 sequences contain every combination except these fourteen: 01,10,12,21,23,32,34,43,45,54,56,65,67,76.
Cf.
A040000,
A003945,
A083318,
A078057,
A003946,
A126358,
A003946,
A055099,
A003947,
A015448,
A126473.
A287804-
A287819.
-
LinearRecurrence[{7, -3, -10, 3}, {1, 8, 50, 314, 1972}, 40]
-
def a(n):
if n in [0, 1, 2, 3, 4]:
return [1, 8, 50, 314, 1972][n]
return 7*a(n-1)-3*a(n-2)-10*a(n-3)+3*a(n-4)
A287813
Number of octonary sequences of length n such that no two consecutive terms have distance 2.
Original entry on oeis.org
1, 8, 52, 340, 2224, 14548, 95164, 622504, 4072036, 26636740, 174241072, 1139777284, 7455717772, 48770692552, 319027694548, 2086881784180, 13651089405616, 89296980486772, 584125595190556, 3820988224873576, 24994540788543364, 163498820845182820
Offset: 0
For n=2 the a(2) = 64 - 12 = 52 sequences contain every combination except these twelve: 02,20,13,31,24,42,35,53,46,64,57,75.
Cf.
A040000,
A003945,
A083318,
A078057,
A003946,
A126358,
A003946,
A055099,
A003947,
A015448,
A126473.
A287804-
A287819.
-
LinearRecurrence[{7, -3}, {1, 8, 52}, 40]
-
def a(n):
if n in [0, 1, 2]:
return [1, 8, 52][n]
return 7*a(n-1)-3*a(n-2)
A287814
Number of octonary sequences of length n such that no two consecutive terms have distance 3.
Original entry on oeis.org
1, 8, 54, 366, 2482, 16834, 114178, 774426, 5252642, 35626714, 241642738, 1638972746, 11116542082, 75399367194, 511405842898, 3468675479466, 23526734684322, 159573084361274, 1082324835734258, 7341006503296586, 49791314679463362, 337715954398900954
Offset: 0
For n=2 the a(2) = 64 - 10 = 54 sequences contain every combination except these ten: 03,30,14,41,25,52,36,63,47,74.
Cf.
A040000,
A003945,
A083318,
A078057,
A003946,
A126358,
A003946,
A055099,
A003947,
A015448,
A126473.
A287804-
A287819.
-
LinearRecurrence[{7, 0, -10}, {1, 8, 54, 366}, 40]
-
def a(n):
if n in [0, 1, 2, 3]:
return [1, 8, 54, 366][n]
return 7*a(n-1)-10*a(n-3)
A287815
Number of octonary sequences of length n such that no two consecutive terms have distance 7.
Original entry on oeis.org
1, 8, 62, 482, 3746, 29114, 226274, 1758602, 13667858, 106226618, 825593474, 6416514026, 49869159026, 387583197338, 3012297335522, 23411580532682, 181954847741906, 1414153417389434, 10990803008177474, 85420541561578922, 663888608980117298, 5159743512230294618
Offset: 0
For n=2 the a(2) = 64 - 2 = 62 sequences contain every combination except these two: 07,70.
Cf.
A040000,
A003945,
A083318,
A078057,
A003946,
A126358,
A003946,
A055099,
A003947,
A015448,
A126473.
A287804-
A287819.
-
LinearRecurrence[{7, 6}, {1, 8}, 40]
-
def a(n):
if n in [0, 1]:
return [1, 8][n]
return 7*a(n-1)+6*a(n-2)
A287816
Number of nonary sequences of length n such that no two consecutive terms have distance 1.
Original entry on oeis.org
1, 9, 65, 471, 3413, 24733, 179233, 1298853, 9412437, 68209395, 494295113, 3582023557, 25957960001, 188110345129, 1363185009337, 9878634630295, 71587804656589, 518777540353453, 3759441118026705, 27243657291488469, 197427447142906157, 1430703538380753875
Offset: 0
For n=2 the a(2) = 81 - 16 = 65 sequences contain every combination except these sixteen: 01,10,12,21,23,32,34,43,45,54,56,65,67,76,78,87.
Cf.
A040000,
A003945,
A083318,
A078057,
A003946,
A126358,
A003946,
A055099,
A003947,
A015448,
A126473.
A287804-
A287819.
-
LinearRecurrence[{9, -11, -15, 19, 1}, {1, 9, 65 , 471, 3413}, 40]
-
def a(n):
if n in [0, 1, 2, 3, 4]:
return [1, 9, 65 , 471, 3413][n]
return 9*a(n-1)-11*a(n-2)-15*a(n-3)+19*a(n-4)+a(n-5)