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.

A254227 Numbers such that the n-th decimal digit of Pi is one larger than the n-th decimal digit of e.

This page as a plain text file.
%I A254227 #18 Apr 06 2015 21:30:13
%S A254227 5,6,10,19,26,56,78,82,96,111,126,127,160,166,172,174,216,220,227,240,
%T A254227 242,246,249,250,272,276,286,299,314,332,339,346,351,352,358,362,365,
%U A254227 372,382,396,402,405,425,430,442,468,474,486,487,502
%N A254227 Numbers such that the n-th decimal digit of Pi is one larger than the n-th decimal digit of e.
%H A254227 Carmine Suriano, <a href="/A254227/b254227.txt">Table of n, a(n) for n = 1..278</a>
%e A254227 a(2) = 6 since the 6th decimal digit of Pi is 2 and the 6th decimal digit of e is 1.
%t A254227 max = 510; piDigits = RealDigits[Pi, 10, max][[1]]; eDigits = RealDigits[E, 10, max][[1]]; Select[Range[2, max], piDigits[[#]] == 1 + eDigits[[#]] &] - 1 (* _Robert G. Wilson v_, Feb 08 2015 *)
%Y A254227 Cf. A068394, A254226.
%K A254227 nonn,base
%O A254227 1,1
%A A254227 _Carmine Suriano_, Jan 27 2015