OFFSET
1,2
COMMENTS
Sequence includes all positive integers not of the form 27k + 13.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,-1).
FORMULA
a(n) = +a(n-1) +a(n-26) -a(n-27). - R. J. Mathar, Aug 31 2010
G.f.: x*(x^25 + x^24 + x^23 + x^22 + x^21 + x^20 + x^19 + x^18 + x^17 + x^16 + x^15 + x^14 + x^13 + 2*x^12 + x^11 + x^10 + x^9 + x^8 + x^7 + x^6 + x^5 + x^4 + x^3 + x^2 + x + 1)/(x^27 - x^26 - x + 1). - Chai Wah Wu, Apr 16 2025
EXAMPLE
a(25) = 26 because (27/26)*25 is 25.9615384615384...
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
J. Lowell, Aug 05 2010
STATUS
approved
