Algorithms for Bernoulli numbers and Euler numbers

In this paper we investigate some algorithms which produce Bernoulli numbers, Euler numbers, and tangent numbers. We also give closed formulae for Euler numbers and tangent numbers in terms of Stirling numbers of the second kind.