A206545 Period length 16: repeat 1, 3, 5, 7, 9, 11, 13, 15, 15, 13, 11, 9, 7, 5, 3, 1.
1, 3, 5, 7, 9, 11, 13, 15, 15, 13, 11, 9, 7, 5, 3, 1, 1, 3, 5, 7, 9, 11, 13, 15, 15, 13, 11, 9, 7, 5, 3, 1, 1, 3, 5, 7, 9, 11, 13, 15, 15, 13, 11, 9, 7, 5, 3, 1, 1, 3, 5, 7, 9, 11, 13, 15, 15, 13, 11, 9, 7, 5, 3, 1, 1, 3, 5, 7, 9, 11, 13, 15, 15, 13, 11, 9, 7, 5, 3, 1
Offset: 1
Examples
Residue Modd 17 of the positive odd numbers not divisible by 17: A204458: 1, 3, 5, 7, 9, 11, 13, 15, 19, 21, 23, 25, 27, 29,... Modd 17: 1, 3, 5, 7, 9, 11, 13, 15, 15, 13, 11, 9, 7, 5,...
Crossrefs
Programs
-
Mathematica
PadRight[{},120,Join[Range[1,15,2],Range[15,1,-2]]] (* Harvey P. Dale, Sep 21 2018 *)
Formula
a(n) = A204458(n) (Modd 17) := Modd17(A204458(n)), n>=1, with the periodic sequence Modd17, with period length 34, defined in the comment section.
O.g.f.: x*(1+x^15+3*x*(1+x^13)+5*x^2*(1+x^11)+7*x^3*(1+x^9)+9*x^4*(1+x^7)+11*x^5*(1+x^5)+ 13*x^6*(1+x^3)+15*x^7*(1+x))/(1-x^16) = x*(1+x)^2*(1+x^2)*(1+x^4)/((1+x^8)*(1-x)).
Comments