Post Reply 
(12C) Euler Numbers
10-24-2017, 11:40 AM (This post was last modified: 10-25-2017 12:28 AM by Gamo.)
Post: #1
(12C) Euler Numbers
Compute the Nth Euler Number

The Euler numbers are 1, 5, 61, 1385, 50521, ...

Program:
Code:

01   ENTER
02      2
03      x
04   ENTER
05   ENTER
06   ENTER
07      n!
08    X<>Y
09      2
10      +
11      2
12   X<>Y
13    Y^x
14      x
15   X<>Y
16      1
17      +
18      3
19      5
20      5
21   ENTER
22      1
23      1
24      3
25      /
26   X<>Y
27    Y^x
28      /
29   FIX 0
30   GTO 00

Example:
5 [R/S] result 50521
4 [R/S] result 1385

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)