Example

choose(8,7* .5^8)+choose(8,8)*.5^8
## Warning in choose(8, 7 * 0.5^8): 'k' (0.03) must be integer, rounded to 0
## [1] 1.003906
pbinom(6,size=8,prob=.5,lower.tail=FALSE)
## [1] 0.03515625