A146307 a(n) = denominator of (n-6)/(2n) = denominator of (n+6)/(2n).
2, 1, 2, 4, 10, 1, 14, 8, 6, 5, 22, 4, 26, 7, 10, 16, 34, 3, 38, 20, 14, 11, 46, 8, 50, 13, 18, 28, 58, 5, 62, 32, 22, 17, 70, 12, 74, 19, 26, 40, 82, 7, 86, 44, 30, 23, 94, 16, 98, 25, 34, 52, 106, 9, 110, 56, 38, 29, 118, 20, 122, 31, 42, 64, 130, 11, 134, 68, 46, 35, 142, 24
Offset: 1
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,-1).
Programs
-
Maple
f:= n -> denom((n-6)/(2*n)): map(f, [$1..100]); # Robert Israel, Apr 20 2021
-
Mathematica
Table[Denominator[(n - 6)/(2 n)], {n, 1, 100}] LinearRecurrence[{0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,-1},{2,1,2,4,10,1,14,8,6,5,22,4,26,7,10,16,34,3,38,20,14,11,46,8},80] (* Harvey P. Dale, May 15 2022 *)
Comments