A262114 Irregular triangle read by rows: row b (b >= 2) gives periodic part of digits of the base-b expansion of 1/5.
0, 0, 1, 1, 0, 1, 2, 1, 0, 3, 1, 1, 1, 2, 5, 4, 1, 4, 6, 3, 1, 7, 2, 2, 2, 4, 9, 7, 2, 7, 10, 5, 2, 11, 3, 3, 3, 6, 13, 10, 3, 10, 14, 7, 3, 15, 4, 4, 4, 8, 17, 13, 4, 13, 18, 9, 4, 19, 5, 5, 5, 10, 21, 16, 5, 16, 22, 11, 5, 23, 6, 6, 6, 12, 25, 19, 6, 19, 26, 13, 6, 27, 7, 7, 7, 14, 29, 22, 7, 22
Offset: 2
Examples
For b = 8, 1/5 = .14631463..., thus 1, 4, 6, 3 are terms in the sequence. For b = 10, 1/5 = .2, thus 2 is a term in the sequence. For b = 13, 1/5 = .27a527a5..., thus 2, 7, 10, 5 are terms in the sequence.
References
- U. Dudley, Elementary Number Theory, 2nd ed., Dover, 2008, pp. 119-126.
- G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers. 6th ed., Oxford Univ. Press, 2008, pp. 138-148.
- Oystein Ore, Number Theory and Its History, Dover, 1988, pp. 311-325.
Links
- Michael De Vlieger, Table of n, a(n) for n = 2..10000
- Eric Weisstein's World of Mathematics, Decimal Period.
- Eric Weisstein's World of Mathematics, Repeating Decimal.
Crossrefs
Programs
-
Mathematica
RotateLeft[Most@ #, Last@ #] &@ Flatten@ RealDigits[1/5, #] & /@ Range[2, 38] // Flatten (* Michael De Vlieger, Sep 11 2015 *)
Formula
Conjectures from Colin Barker, Oct 09 2015: (Start)
a(n) = 2*a(n-12) - a(n-24) for n>24.
G.f.: x^3*(x^19 +x^18 +x^17 +2*x^16 +2*x^15 +x^14 +2*x^13 +3*x^12 +2*x^11 +x^10 +x^9 +x^8 +3*x^7 +x^5 +2*x^4 +x^3 +x +1) / (x^24 -2*x^12 +1).
(End)
Comments