A109635 Sum of prime(n) and n-th digit of Pi after the decimal point.
3, 7, 6, 12, 20, 15, 23, 24, 26, 34, 39, 46, 48, 52, 50, 55, 62, 69, 71, 77, 75, 85, 87, 92, 100, 109, 106, 109, 116, 122, 132, 131, 139, 147, 157, 155, 158, 172, 174, 174, 185, 190, 194, 202, 206, 202, 218, 228, 228, 229, 238, 247, 243, 251, 266, 270, 273, 280
Offset: 1
Examples
The first column gives the primes, the second column the digits of Pi and the third column their sum. 2 1 3 3 4 7 5 1 6 7 5 12 ...
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Total/@With[{nn=60},Thread[{Prime[Range[nn]],Rest[RealDigits[Pi,10,nn+1][[1]]]}]] (* Harvey P. Dale, Apr 25 2020 *)
Formula
a(n) ~ n log n.
Comments