login
A254226
Numbers n such that the n-th decimal digit of e = 1 + the n-th decimal digit of Pi.
2
25, 28, 31, 35, 40, 61, 73, 107, 114, 130, 135, 138, 148, 151, 152, 170, 188, 192, 195, 202, 209, 218, 222, 231, 234, 238, 263, 265, 290, 297, 315, 378, 423, 432, 436, 444, 448, 457, 470, 481, 485, 489, 490, 526, 537, 546
OFFSET
1,1
LINKS
EXAMPLE
31 is in the sequence since the 31st decimal digit of e is 6 and the 31st decimal digit of Pi is 5.
MATHEMATICA
nn = 550; rdpi = RealDigits[Pi, 10, nn][[1]]; rde = RealDigits[E, 10, nn][[1]]; Select[ Range[2, nn], 1 + rdpi[[#]] == rde[[#]] &] - 1 (* Robert G. Wilson v, Feb 08 2015 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Carmine Suriano, Jan 27 2015
STATUS
approved