HP Forums
HP Forums
>
HP Software Libraries
>
General Software Library
> (30b) Repunit Programme
Full Version:
(30b) Repunit Programme
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
Gerald H
07-29-2015, 07:02 AM
For integer input N returns the Nth repunit.
Code:
0 P2
1 =
2 1
3 0
4 Swap
5 Y^X
6 1
7 -
8 9
9 /
10 Rtn
HP Forums
>
HP Software Libraries
>
General Software Library
> (30b) Repunit Programme
Reference URL's
HP Forums:
https://www.hpmuseum.org/forum/index.php
: