|
Search: id:A134182
|
|
|
| A134182 |
|
10^n-th difference between cumulative prime and odd sums. |
|
+0 2
|
|
| 38, 14478, 2688838, 396250152, 52261798440, 6472980453364, 770530574266708
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
FORMULA
|
Beginning at 3, compute the sums of the prime and odd sequences at 10^n and take the difference.
|
|
EXAMPLE
|
a(2)=14478 because at 10^2, 100 sums of primes and odds, the prime sum is 24678, the odd sum is 10200, and the difference is 14478
|
|
PROGRAM
|
UBASIC: 10 N=1:A=2 20 A=nxtprm(A):B=B+A 30 N=N+2:D=D+N 40 if C=9 then print A; N; B; D; B-D:stop 50 C=C+1: if C<10 then 20
|
|
CROSSREFS
|
Cf. A071148 A005563 A134181.
Adjacent sequences: A134179 A134180 A134181 this_sequence A134183 A134184 A134185
Sequence in context: A055605 A096558 A030260 this_sequence A110017 A103479 A036174
|
|
KEYWORD
|
easy,more,nonn
|
|
AUTHOR
|
Enoch Haga (Enokh(AT)comcast.net), Oct 13 2007
|
|
|
Search completed in 0.002 seconds
|