close
login
A147650
First trisection of A061040.
2
1, 12, 81, 48, 75, 324, 147, 64, 729, 100, 363, 1296, 507, 588, 2025, 768, 289, 2916, 361, 1200, 3969, 1452, 1587, 5184, 1875, 676, 6561, 784, 2523, 8100, 2883, 3072, 9801, 3468, 1225, 11664, 1369, 4332, 13689, 4800, 5043, 15876, 5547, 1936, 18225, 2116, 6627, 20736, 7203, 7500, 23409, 8112, 2809, 26244
OFFSET
1,2
COMMENTS
a(n) gives the denominator of (n-1)*(n+1)/(9*n^2), for n >= 1. The numerator is given by A144454(n). - Wolfdieter Lang, Mar 16 2018
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,-3,0,0,0,0,0,0,0,0,1).
FORMULA
For n >= 1: a(n) = n^2 if n == 1 (mod 9) or == 8 (mod 9). For other n: a(n) = 3*n^2 if n == 1 (mod 3) or == 2 (mod 3), and a(n) = 9*n^2 if n == 0 (mod 3). From the denominator comment above. - Wolfdieter Lang, Mar 16 2018
MATHEMATICA
Table[Which[MemberQ[{1, 8}, Mod[n, 9]], n^2, Mod[n, 3] != 0, 3 n^2, True, 9 n^2], {n, 41}] (* Michael De Vlieger, Mar 16 2018 *)
PROG
(PARI) a(n) = denominator((n-1)*(n+1)/(9*n^2)); \\ Michel Marcus, Mar 17 2018
(Magma)
A147650:= func< n | Denominator((n^2-1)/(9*n^2)) >;
[A147650(n): n in [1..70]]; // G. C. Greubel, Dec 18 2025
(SageMath)
def A147650(n): return denominator((n-1)*(n+1)/(9*n^2))
print([A147650(n) for n in range(1, 41)]) # G. C. Greubel, Dec 18 2025
CROSSREFS
Cf. A061040, A017198 (2nd trisection), A017234 (3rd trisection), A144454.
Sequence in context: A277783 A009500 A012195 * A007010 A069996 A183504
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Nov 09 2008
EXTENSIONS
Offset changed from 0 to 1, and extended by Wolfdieter Lang, Mar 16 2018
More terms added by G. C. Greubel, Dec 18 2025
STATUS
approved