login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A254227 Numbers such that the n-th decimal digit of Pi is one larger than the n-th decimal digit of e. 1
5, 6, 10, 19, 26, 56, 78, 82, 96, 111, 126, 127, 160, 166, 172, 174, 216, 220, 227, 240, 242, 246, 249, 250, 272, 276, 286, 299, 314, 332, 339, 346, 351, 352, 358, 362, 365, 372, 382, 396, 402, 405, 425, 430, 442, 468, 474, 486, 487, 502 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Carmine Suriano, Table of n, a(n) for n = 1..278

EXAMPLE

a(2) = 6 since the 6th decimal digit of Pi is 2 and the 6th decimal digit of e is 1.

MATHEMATICA

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 *)

CROSSREFS

Cf. A068394, A254226.

Sequence in context: A011985 A318907 A231503 * A326806 A056050 A274554

Adjacent sequences:  A254224 A254225 A254226 * A254228 A254229 A254230

KEYWORD

nonn,base

AUTHOR

Carmine Suriano, Jan 27 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 16 19:05 EDT 2021. Contains 345068 sequences. (Running on oeis4.)