Gerald Hillier

ID:1341
First Name:Gerald
Last Name:Hillier
Last Change:2018-05-01
Number of Files:85 (5th most prolific)
Number of Downloads:80,955 (104th most downloaded)

Alternating Bit Sum and Partial Sums   (details) 38 ENG   2KB/1KB
A program to insert symbolics in the Sequence App to reproduce the sequence A065359 and its partial sums A005536.
By Gerald Hillier. 2017/08/10

An Interesting Irregular Sequence   (details) 38 ENG   2KB/1KB
A set of programs that generate an interesting irregular sequence, a generalized meta-Fibonacci sequence a(n) with parameters s=0 and k=5. This is A228297. Also generates A27868.
By Gerald Hillier. 2017/09/20

An Interesting Irregular Sequence   (details) 49/50 ENG   2KB/1KB
Generates an interesting irregular sequence, a generalized meta-Fibonacci sequence a(n) with parameters s=0 and k=5. This is A228297.
By Gerald Hillier. 2017/09/20

Applying a Function to a Matrix   (details) 39/40 ENG   2KB/1KB
Applies a function to matrix entered from the input line, returning the answer in Ans. The desired function should be stored in the program FNC and takes S1 as its argument.
By Gerald Hillier. 2018/05/01

Arabic to Pseudo-Roman Representation   (details) 49/50 ENG   2KB/1KB
Takes an integer as input and returns the Roman representation in Arabic numerals, using OEIS A093788. For example, given 1953, otherwise known as MCMLIII, the program returns 1000100100050111, which is the letter by letter, left to right, value of the Roman letters.
By Gerald Hillier. 2017/02/25

Binary Champernowne Constant   (details) 49/50 ENG   3KB/1KB
Returns the Nth digit of the binary Champernowne constant, or the first N digits.
By Gerald Hillier. 2017/07/23

Champernowne Sequence   (details) 49/50 ENG   2KB/1KB
The Champernowne sequence (OEIS A030190) is a natural number sequence concatenated in binary & split into single digits: 0,1,1,0,1,1,1,0,0......... This program returns the specified element of the series.
By Gerald Hillier. 2017/02/25

COMB Replacement   (details) 38 ENG   2KB/1KB
A replacement for the COMB command that handles the A < B case without an error.
By Gerald Hillier. 2017/11/20

Counting Base 5 without Zero   (details) 49/50 ENG   2KB/1KB
For a given integer input N, this returns the Nth integer of a base 5 number system that doesn't include zero. This is OEIS A084545.
By Gerald Hillier. 2017/09/04

DE   (details) 49/50 ENG   4KB/2KB
Takes real or complex numerical input and seeks a simple symbolic representation of the number, returning the input in the variable DE.OR, error in the symbolic representation in variable DE.ER and the symbolic representation to the stack. Also accepts a list of numbers.
By Gerald Hillier. 2017/12/06

Decimal Period of 1/X in Base Y   (details) 49/50 Prime ENG   4KB/1-2KB
A set of programs to calculate the Decimal Period of 1/X in Base Y or the Multiplicative Order of Y (mod X). Includes a version for the Prime as well as both a User RPL and System RPL version for the 49/50 series.
By Joseph K. Horn, Gerald Hillier, and Thomas Ritschel. 2018/01/24

Digit Reversal   (details) 38 ENG   1KB/1KB
For a given natural number input, this returns the digit reversed number in Ans and variable T. This is OEIS A004086.
By Gerald Hillier. 2017/10/04

Exact Integer Division to Integer Base   (details) 49/50 ENG   3KB/1KB
Given integers A, B, and C, this program returns A / B to base C.
By Gerald Hillier. 2018/01/24

Extended (ExMath)   (details) 49/50 ENG   44KB/7KB
Extends the arithmetic capabilities of the calculator from beyond the exponent limit of E+/- 499 to E+/- 49999.
By Francisco Saenz and Gerald Hillier. 2017/10/29

Factorisation   (details) 49/50 ENG   6KB/3KB
Factors integers in a method similar to that built in to the calculator, but without giving up after a certain time limit.
By Gerald Hillier. 2017/06/19

Fast GCD   (details) 49/50 ENG   2KB/1KB
Calculates the GCD of two integers much faster than the built-in routine. Includes separate versions optimized for the different characteristics of the 49G and 50g.
By Gerald Hillier. 2017/10/22

Fibo49 1.0   (details) 49/50 ENG   1KB/1KB
Calculates Fibonacci numbers.
By Gerald Hillier. 2002/03/16

Finds Binary Palindrome's Position   (details) 49/50 ENG   2KB/1KB
For binary integer input B, returns B's position in the sequence A057148. For example, with input 1000101010101010001 it returns 1066.
By Gerald Hillier. 2018/02/18

FNINVARS   (details) 49/50 ENG   3KB/1KB
Put an object on the stack, and this program provides a list of all variables in the current directory that contain that object. Also includes a program to find a string in the variables of a directory.
By Joseph K. Horn and Gerald Hillier. 2017/10/11

FP2 1.0   (details) 49/50 ENG   5KB/2KB
A library to find square roots modulo a prime integer using FP2 arithmetic.
By Gerald Hillier and B. Bock. 2006/08/28

FPTR2^ZSQRT Replacement   (details) 49/50 ENG   2KB/1KB
The built in integer square root-finder function returns the integer square root of N a positive integer and TRUE/FALSE if the square of the answer is exactly N or not. Sadly the square root of larger integers is not calculated correctly. This program returns the correct value.
By Gerald Hillier. 2017/09/11

Fraction Raised to a Power   (details) 49/50 ENG   2KB/1KB
Very small and fast User RPL code to raise a fraction to a power.
By Gerald Hillier. 2017/10/11

Gauss Kronrod Integration 1.0   (details) 49/50 ENG   128KB/2KB
Performs integration of real functions using Gauss-Lobatto-Kronrod 4-7-13 formulas (generally faster and more accurate than the built-in integrator).
By Gerald Hillier and B. Bock. 2008/05/11

GOLO.LIB 1.0   (details) 48 ENG   4KB/1KB
Calculates elements of the Golomb sequence.
By Gerald Hillier. 2006/05/14

Hill's Encryption System   (details) 38 ENG   1KB/1KB
Implements Hill's Cypher system, which is a polygraphic substitution cipher based on linear algebra.
By Gerald Hillier. 2017/03/04

Hill's Encryption System   (details) 39/40 ENG   2KB/1KB
Implement Hill's Cypher system. The program asks for an encyphering modulus, for English perhaps 26, and size of cyphering matrices and vector, conveniently 4 to fit on the screen.
By Gerald Hillier. 2018/05/01

Integer Cube Root of an Integer   (details) 49/50 ENG   2KB/1KB
For positive integer input N, this returns the integer cube root, i.e. greatest integer cubed less than or equal to N.
By Gerald Hillier. 2017/09/08

Integer Power of Ten   (details) 49/50 ENG   2KB/1KB
Returns 1 for an integer power of 10 and 0 otherwise.
By Gerald Hillier. 2018/02/20

Integer Power of Ten Test   (details) 49/50 ENG   2KB/1KB
For integer input, this returns 1. for an integer power of 10 and 0. otherwise. Also lists a faster version that is dependent upon ZREV: Speedily Reverse Digits of Integer.
By Gerald Hillier. 2018/02/21

Integer Ratio to Exact Repeating Decimal   (details) 49/50 ENG   4KB/1KB
Expresses any ratio of two integers as an exact decimal number, indicating which digits repeat and which digits do not repeat. Includes both a User RPL version and a faster, smaller System RPL version.
By Joseph K. Horn and Gerald Hillier. 2018/01/24

Integer Square Root   (details) 49/50 ENG   2KB/1KB
For a given infinite precision integer, returns its square root as the closest integer.
By Gerald Hillier. 2017/09/06

Integers with Even Digits   (details) 49/50 ENG   2KB/1KB
For a given integer input N, this returns the Nth integer composed solely of even digits. This is OEIS A014263.
By Gerald Hillier. 2017/08/27

Integers with Odd Digits   (details) 49/50 ENG   2KB/1KB
For a given integer input N, this returns the Nth integer composed solely of odd digits. This is OEIS A014261.
By Gerald Hillier. 2017/08/31

ISO-Gregorian Date Conversions 3.0   (details) 49/50 48 ENG   8KB/1KB
Converts Gregorian dates to ISO day-week-year format and back.
By Gerald Hillier. 2015/07/26

ISPRIME? 1.0   (details) 49/50 ENG   121KB/1KB
A replacement for the ISPRIME? command on the 49g and 50g.
By Gerald Hillier and B. Bock. 2010/12/15

Jacobi 1.0   (details) 38 ENG   3KB/1KB
Calculates the Jacobi symbol indicating quadratic residue nature.
By Gerald Hillier and B. Bock. 2006/08/28

Lah Numbers   (details) 49/50 ENG   1KB/1KB
For integer input N, K, this program returns the corresponding Lah number. Lah numbers are coefficients expressing rising factorials in terms of falling factorials.
By Gerald Hillier. 2017/02/25

Lambert W Function   (details) 49/50 ENG   1KB/1KB
Returns the value of the Lambert w function to the stack given a real number.
By Gerald Hillier. 2017/02/25

Last Digit Composite   (details) 38 Prime ENG   2KB/1KB
Inserts symbolics in the Sequence App to produce the sequence of numbers having right-most digit composite. This is A262389.
By Gerald Hillier and Didier Lachieze. 2017/09/20

Last Non-Zero Digit of Factorial   (details) 49/50 ENG   2KB/1KB
For input N, a natural number, this returns the Nth element where the digit is the final nonzero digit of N factorial. This is A008904.
By Gerald Hillier. 2017/09/23

Last Non-Zero Digit of Factorial   (details) 38 ENG   2KB/1KB
Inserts symbolics in the Sequence App to produce the sequence of numbers that are the last non-zero digit of the factorial of that number. This is A008904.
By Gerald Hillier. 2017/09/26

Logic Binary Sequence   (details) 49/50 ENG   2KB/1KB
For a given integer input N, this returns the Nth integer of a base 2 number system that doesn't include zero. This is OEIS A007931.
By Gerald Hillier. 2017/09/15

Mantissa of an Extended Real   (details) 49/50 ENG   2KB/1KB
Very small and fast program to get the mantissa of an extended real.
By Gerald Hillier and others. 2017/10/11

Möbius Function   (details) 49/50 ENG   2KB/1KB
Calculates the Möbius function, used in number theory, usually written as μ(n) but called MOB(n) here, is defined thus: MOB(n) = 0 if n has a squared prime factor; MOB(n) = 1 if n is a square-free positive integer with an even number of prime factors; and MOB(n) = −1 if n is a square-free positive integer with an odd number of prime factors. Includes both a User RPL version and a much faster System RPL version.
By Joseph K. Horn and Gerald Hillier. 2018/03/18

N! Never Ends In This Many Zeroes   (details) 49/50 ENG   2KB/1KB
For natural number input N, this returns the Nth element of the sequence where N! never ends in this many 0's. This is A000966.
By Gerald Hillier. 2017/09/29

Neighbour Function (Dedekind Cut)   (details) 38 ENG   2KB/1KB
Programs to do the neighbor function and the Dedekind cut. The neighbor function for a real number N finds the nearest number to N that the calculator can represent. The Dedekind cut returns for real input N the upper and lower nearest numbers to N that the calculator can represent.
By Gerald Hillier. 2017/09/29

Nightingale Rose   (details) 48 ENG   6KB/1KB
Produces nightingale roses for lists of statistics. For the G series only.
By Gerald Hillier and B. Bock. 2006/08/28

Number of Different Digits of N!   (details) 49/50 ENG   2KB/1KB
For a given integer input N, this returns the number of different digits in N!. This is OEIS A137580.
By Gerald Hillier. 2017/09/23

Number of Digits of N!   (details) 49/50 ENG   2KB/1KB
For a given integer input N, this returns the number of digits in N!. This is OEIS A034886.
By Gerald Hillier. 2017/09/23

Number of Divisors of N!   (details) 39/40 ENG   2KB/1KB
For a given natural number input N, this returns the number of positive divisors of N!. This is OEIS A027423. For the 40 series only.
By Gerald Hillier. 2017/10/04

Number of Divisors of N!   (details) 49/50 ENG   5KB/1KB
For a given natural number input N, this returns the number of positive divisors of N!. This is OEIS A027423.
By Gerald Hillier. 2017/10/04

Numbers Composed Exclusively of Digits 2, 3, 5, 7   (details) 49/50 ENG   2KB/1KB
For a given integer input N, this returns the Nth integer composed only of the digits 2, 3, 5, and 7 (only prime numbers). This is OEIS A046034.
By Gerald Hillier. 2017/09/06

NumTheory38 1.1   (details) 38 DEU   23KB/3KB
Group of number theory programs for modulo powering, prime testing and factorizing of integers. Includes Rabin-Miller test and Shanks square form factorization. Full documentation in German.
By Gerald Hillier. 2015/07/26

NumTheory39   (details) 39/40 DEU   20KB/3KB
Group of number theory programs for modulo powering, prime testing and factorizing of integers. Includes Rabin-Miller test and Shanks square form factorization. Full documentation in German.
By Gerald Hillier. 2003/06/30

Odd Number Triangle   (details) 49/50 ENG   2KB/1KB
For a given natural number input N, this returns the Nth element of a triangle where all numbers are odd, with the leftmost digit being 2 greater than the one above it and each digit to the right being 2 greater than the one before. This is OEIS A131421.
By Gerald Hillier. 2017/10/11

OEIS A111138   (details) 49/50 38 Prime ENG   5KB/1KB
Returns the Nth element of the series OEIS A111138.
By Gerald Hillier. 2017/11/20

Palindrome 1.0   (details) 49/50 ENG   3KB/1KB
Finds integer palindromes by integer reversion addition.
By Gerald Hillier. 2001/04/04

Palindrome Locator   (details) 49/50 ENG   2KB/1KB
Given positive integer palindromic input N, this returns the position of the palindrome in the series of palindromes ordered naturally in the sequence A002113.
By Gerald Hillier. 2018/01/24

Palindromes in Base 10 in Natural Order   (details) 49/50 ENG   4KB/1KB
For natural number entry N, this returns the Nth palindrome for the sequence A002113.
By Gerald Hillier. 2018/01/24

Palindromes with Even & Odd Number of Digits   (details) 49/50 ENG   2KB/1KB
Takes positive integer input N and returns the Nth even-digited palindromic number for the sequence A056524. Takes positive integer input N and returns the Nth odd-digited palindromic number for the sequence A056525.
By Gerald Hillier. 2018/01/24

Parti49 1.0   (details) 49/50 ENG   1KB/1KB
For integer input produces the exact number of integer partitions.
By Gerald Hillier. 2004/05/15

Partition of Integer N in M Parts   (details) 49/50 ENG   1KB/1KB
Given positive integers N and M, this program returns the number of partitions of N into at most M parts.
By Gerald Hillier. 2017/02/25

PARTN 1.0   (details) 48 ENG   2KB/1KB
For integer input produces the exact number of integer partitions.
By Gerald Hillier. 2011/07/24

Per Nørgård's ∞ Sequence   (details) 49/50 ENG   2KB/1KB
Calculates Per Nørgård's infinity sequence, A004718.
By Gerald Hillier. 2017/12/06

Pollard's p-1 Factorization 1.0   (details) 49/50 ENG   7KB/1KB
Performs Pollard's p-1 integer factorization.
By B. Bock and Gerald Hillier. 2010/06/06

Prime Count between N^2 & (N+1)^2   (details) 39/40 ENG   2KB/1KB
Inserts symbolics in the Sequence App to produce the sequence of numbers where N is the number of primes between N^2 and (N+1)^2. This is A014085.
By Gerald Hillier. 2017/09/11

Prime Power Test 1.0   (details) 49/50 ENG   3KB/1KB
Tests whether an integer is a prime or a power of a prime.
By Gerald Hillier and B. Bock. 2006/08/28

Product of Digits is a Prime Sequence   (details) 49/50 ENG   2KB/1KB
For a given integer input N, this returns the Nth integer of the series where the elements are all numbers in naturally ascending order whose product of digits is a prime. This is OEIS A028842.
By Gerald Hillier. 2017/09/07

Quasi Monte Carlo Halton Sequence   (details) 49/50 ENG   2KB/1KB
This group of programs generates a Quasi-Monte Carlo series of D-dimension Halton sequence vectors.
By Gerald Hillier. 2017/02/25

Repunit   (details) 49/50 ENG   2KB/1KB
In recreational mathematics, a repunit is a number like 11, 111, or 1111 that contains only the digit 1 — a more specific type of repdigit. This assembly language program generates the nth repunit very quickly.
By Gerald Hillier. 2017/07/04

RomMat 1.0   (details) 49/50 ENG   2KB/1KB
Performs arithmetic on Roman numerals.
By Gerald Hillier. 2002/03/16

RSA.LIB 4.0   (details) 49/50 ENG   5KB/2KB
Implementation of RSA encryption algorithm - not as a toy, but real RSA.
By Gerald Hillier. 2001/02/09

Sequence A002516   (details) 38 ENG   1KB/1KB
Generates sequence A002516, the earliest sequence with a(a(n))=2n.
By Gerald Hillier. 2017/08/02

Series Factors of Natural Numbers   (details) 49/50 ENG   1KB/1KB
Given positive integer input N, returns the Nth element of the series of factors of the natural numbers, per OEIS A027750.
By Gerald Hillier. 2017/02/25

Shank's Square Form Factorisation 1.0   (details) 48 ENG   2KB/1KB
Integer factorization in a reasonable time for numbers up to maximum hexadecimal value.
By B. Bock and Gerald Hillier. 2002/11/17

Smallest Prime   (details) 49/50 ENG   2KB/1KB
For a given natural number input N, this returns the smallest prime number beginning with N. This is OEIS A018800.
By Gerald Hillier. 2017/10/03

Smallest Prime Beginning with N Reversed   (details) 39/40 ENG   2KB/1KB
For a given natural number input N, this returns the smallest prime number beginning with N reversed. This is OEIS A110743.
By Gerald Hillier. 2017/10/04

Sum of Divisors to an Integer Power   (details) 49/50 ENG   2KB/1KB
Returns the sum of the given integer to the given integer real power. For powers of 0, it returns the number of divisors.
By Gerald Hillier. 2018/04/16

Test for Binary-Palindromicity   (details) 49/50 ENG   2KB/1KB
For integer decimal input N, this tests whether N in binary is palindromic. This is A178225.
By Gerald Hillier. 2018/02/27

Trailing Zeros of a Factorial   (details) 38 ENG   1KB/1KB
Inserts symbolics in the Sequence App to produce the sequence of numbers where the nth digit is the the number of trailing zeros in n!, highest power of 5 dividing n!. This is OEIS A027868.
By Gerald Hillier. 2017/09/12

Unproven Theorem A212558   (details) 49/50 ENG   2KB/1KB
Calculates sequence OEIS A212558, which is a(n) = ((n - s)^2 mod (n + s)) - ((n + s)^2 mod (n - s)), where s is the sum of the decimal digits of n, and includes a proof of it.
By Gerald Hillier. 2017/12/28

Verbal Sequence   (details) 49/50 ENG   2KB/1KB
Takes integer input from the stack and returns the labelled lengths of the prodromic and periodic parts of the verbal description of the input and the descriptions of the input to the stack.
By Gerald Hillier. 2017/02/25

XdYB 1.0   (details) 48 ENG   4KB/1KB
Program performs exact division of real X by real Y to real integer base B. For the G series only.
By Gerald Hillier. 2001/02/12

XdYB49 1.0   (details) 49/50 ENG   3KB/1KB
Performs exact division of real X by real Y to any real base B.
By Gerald Hillier. 2001/02/14

ZREV: Speedily Reverse Digits of Integer   (details) 49/50 ENG   5KB/1KB
For integer input Z this returns the reversed digits integer. It is much faster than converting to a string, SREV and converting to an object. Includes a second routine that is a bit bigger but handles some more cases.
By Gerald Hillier and David Mutter. 2018/03/14

Part of the HP Calculator Archive,
Copyright 1997-2018 Eric Rechlin.