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.

A275704 Digital root of n + (n+1)^2.

This page as a plain text file.
%I A275704 #21 Jan 24 2020 05:34:28
%S A275704 1,5,2,1,2,5,1,8,8,1,5,2,1,2,5,1,8,8,1,5,2,1,2,5,1,8,8,1,5,2,1,2,5,1,
%T A275704 8,8,1,5,2,1,2,5,1,8,8,1,5,2,1,2,5,1,8,8,1,5,2,1,2,5,1,8,8,1,5,2,1,2,
%U A275704 5,1,8,8,1,5,2,1,2,5,1,8,8,1,5,2,1,2,5,1,8,8,1,5,2,1,2,5,1,8,8,1,5,2,1,2,5,1,8,8,1,5,2,1,2,5,1,8,8,1,5,2,1
%N A275704 Digital root of n + (n+1)^2.
%C A275704 Period 9: repeat [1,5,2,1,2,5,1,8,8].
%C A275704 When expressed starting from the 9th term, i.e., 8,1,5,2,1,2,5,1,8,8,1,5,2,1,2,5,1,8, etc., the sequence is palindromic.
%C A275704 Decimal expansion is 50708396/333333333.
%H A275704 <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 A275704 a(n) = A010888(A028387(n)).
%F A275704 G.f.: ( -1 - 5*x - 2*x^2 - x^3 - 2*x^4 - 5*x^5 - x^6 - 8*x^7 - 8*x^8 ) / ( (x-1)*(1+x+x^2)*(x^6+x^3+1) ). - _R. J. Mathar_, Jan 07 2019
%t A275704 Table[FixedPoint[Total@ IntegerDigits@ # &, n + (n + 1)^2], {n, 0, 120}] (* or *)
%t A275704 PadRight[{}, 120, {1, 5, 2, 1, 2, 5, 1, 8, 8}] (* _Michael De Vlieger_, Aug 07 2016 *)
%Y A275704 Cf. A010888, A028387.
%K A275704 nonn,easy,base
%O A275704 0,2
%A A275704 _Peter M. Chema_, Aug 05 2016