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.

A048997 Sum of digits in decimal expansion of 1/n up to the point where it repeats for the first time.

This page as a plain text file.
%I A048997 #11 Aug 03 2014 16:52:43
%S A048997 1,5,3,7,2,7,27,8,1,1,9,11,27,27,6,13,72,5,81,5,27,9,99,11,4,27,10,30,
%T A048997 126,3,54,11,3,72,27,9,9,81,18,7,18,27,90,11,2,99,207,13,189,2,69,28,
%U A048997 63,14,9,35,81,126,261,7,270,54,24,19,27,6,144,73,96,27,126,12,36,9,4
%N A048997 Sum of digits in decimal expansion of 1/n up to the point where it repeats for the first time.
%H A048997 <a href="/index/1#1overn">Index entries for sequences related to decimal expansion of 1/n</a>
%e A048997 1/1=1. -> 1; 1/2=.5 ->5; 1/3=.3333... -> 3; 1/4=.25 -> 7; 1/5=.2 ->2; 1/6=.1666... -> 7; 1/7=.142857... -> 27; etc.
%t A048997 Table[Total[Flatten[RealDigits[1/n][[1]]]], {n, 1, 75}] (* _Jean-François Alcover_, Mar 15 2011 *)
%Y A048997 Cf. A048962.
%K A048997 nonn,base,easy,nice
%O A048997 1,2
%A A048997 Deepak R. N (deepak_rama(AT)bigfoot.com)
%E A048997 More terms from Antonio G. Astudillo (afg_astudillo(AT)hotmail.com), Jun 17 2001