|
|
A164735
|
|
Number of n-digit cycles of length 3 under the Kaprekar map A151949.
|
|
6
|
|
|
0, 0, 0, 0, 0, 0, 0, 1, 0, 4, 0, 10, 0, 20, 0, 36, 0, 60, 1, 94, 4, 141, 10, 204, 21, 286, 39, 392, 66, 527, 105, 696, 159, 906, 231, 1164, 326, 1477, 449, 1854, 605, 2304, 801, 2836, 1044, 3462, 1341, 4194, 1701, 5044, 2133, 6027, 2646, 7158, 3252, 8452, 3963
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,10
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 4*a(n-2) - 6*a(n-4) + 5*a(n-6) - 5*a(n-8) + a(n-9) + 6*a(n-10) - 4*a(n-11) - 4*a(n-12) + 6*a(n-13) + a(n-14) - 5*a(n-15) + 5*a(n-17) - 6*a(n-19) + 4*a(n-21) - a(n-23) for n > 25.
G.f.: x*(-x^24 + x^22 + x^18 - x^16 + x^15 - x^13 + x^7)/((x - 1)^6*(x + 1)^5*(x^2 - x + 1)*(x^2 + x + 1)^2*(x^6 + x^3 + 1)). (End)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn,changed
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|