cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A254375 Digital roots of centered heptagonal numbers (A069099).

This page as a plain text file.
%I A254375 #13 Aug 26 2015 17:14:03
%S A254375 1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,
%T A254375 8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8,
%U A254375 7,4,8,1,1,8,4,7,8,7,4,8,1,1,8,4,7,8
%N A254375 Digital roots of centered heptagonal numbers (A069099).
%C A254375 The sequence is periodic with period 9.
%H A254375 Colin Barker, <a href="/A254375/b254375.txt">Table of n, a(n) for n = 1..1000</a>
%H A254375 <a href="/index/Rec#order_09">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 0, 0, 0, 0, 1).
%F A254375 a(n) = A010888(A069099(n)).
%F A254375 a(n) = a(n-9).
%F A254375 G.f.: -x*(x^8+8*x^7+4*x^6+7*x^5+8*x^4+7*x^3+4*x^2+8*x+1) / ((x-1)*(x^2+x+1)*(x^6+x^3+1)).
%e A254375 a(3) = 4 because the 3rd centered heptagonal number is 22, the digital root of which is 4.
%t A254375 FixedPoint[Plus @@ IntegerDigits[#] &, #] & /@ FoldList[#1 + #2 &, 1, 7 Range@ 80] (* _Michael De Vlieger_, Feb 01 2015, after _Robert G. Wilson v_ at A069099 *)
%t A254375 LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 1},{1, 8, 4, 7, 8, 7, 4, 8, 1},86] (* _Ray Chandler_, Aug 26 2015 *)
%o A254375 (PARI) m=9; vector(200, n, (m*n*(n-1)/2)%9+1)
%Y A254375 Cf. A001844, A069099.
%K A254375 nonn,easy,base
%O A254375 1,2
%A A254375 _Colin Barker_, Jan 29 2015