OFFSET
1,2
COMMENTS
Contains numbers like 100, 111, 112, 113 which are not in A043096. [R. J. Mathar, May 20 2009]
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,1,-1).
FORMULA
a(n) = a(n-10) + 11, n>10. - R. J. Mathar, May 20 2009
G.f.: x*(1+x+x^2+x^3+x^4+x^5+x^6+x^7+x^8+x^9+x^10) / ( (1+x)*(1+x+x^2+x^3+x^4)*(x^4-x^3+x^2-x+1)*(x-1)^2 ). - R. J. Mathar, May 02 2014
MAPLE
A160541 := proc(n)
option remember ;
if n <= 10 then
n;
else
procname(n-10)+11 ;;
end if;
end proc:
seq(A160541(n), n=1..100) ; # R. J. Mathar, Aug 05 2022
MATHEMATICA
Select[Table[n, {n, 200}], Mod[#, 11]!=0&] (* Vladimir Joseph Stephan Orlovsky, Feb 18 2011*)
LinearRecurrence[{1, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1}, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12}, 70] (* Harvey P. Dale, Sep 16 2020 *)
PROG
(Sage) [i for i in range(72) if gcd(11, i) == 1]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Zerinvary Lajos, May 18 2009
STATUS
approved