login
A180004
a(n) is the nearest integer to n*(27/26).
0
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 68, 69, 70, 71, 72, 73, 74, 75
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
Sequence in context: A379261 A011760 A085265 * A252474 A391732 A172270
KEYWORD
easy,nonn
AUTHOR
J. Lowell, Aug 05 2010
STATUS
approved