Skip to content

hvds/seq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6d9e655 · Feb 13, 2024
May 18, 2012
Feb 8, 2016
Oct 31, 2021
Feb 3, 2015
Jun 10, 2023
Apr 16, 2019
Jul 15, 2022
Nov 28, 2016
Sep 16, 2022
Feb 13, 2024
May 16, 2021
Mar 20, 2022
Dec 7, 2023
Oct 9, 2012
Apr 17, 2012
Feb 28, 2015
Aug 28, 2022
May 14, 2020
Mar 20, 2019
Nov 28, 2016
Nov 28, 2016
May 14, 2020
Jun 9, 2023
Feb 13, 2024
Nov 28, 2016
Feb 3, 2015
Jun 7, 2019
Feb 3, 2015
Nov 7, 2022

Repository files navigation

A selection of programs that relate to potential or actual sequences
in the OEIS (<http://www.oeis.org>).

k-steppable:
  How many of the b^n strings of length n, base b can be partitioned in at
  least one way into k non-empty substrings such that the substrings appear
  in lexical order?

A001055:
  Number of ways of factoring n with all factors >1, focusing on records.

jacobsthal:
  Given n, what is the longest possible sequence of consecutive integers
  each of which has a common factor with n? Perl and C code variants of
  the same algorithm.

divrep:
  Investigation of sequences involving arithmetic series related to tau(n),
  including A064491, A088430, A165497, A165498, A165499, A165500, A165501.
  **Note** now moved to its own repo, see https://github.com/hvds/divrep

zerofree:
  Given a calculation such as s->s^2, find the minimal set that includes 2
  and is fixed under the transformation: apply the calculation to each
  element, write the resulting value in some base <n>, split on any zero
  digits, and collate the resulting substrings as base <n> values.
  This gives A113917 and A113918.

A101877:
  Given n, find the least integer such that there is a sum of distinct unit
  fractions equal to n, the greatest denominator being a(n).

A249064:
  Find the lexically first sequence of positive integers such that each
  element a(n) is coprime to the next a(n) elements. Also find A090252,
  where each element a(n) is coprime to the next n elements.

least_eg:
  Find A097048(n) and A097049(n), the numerator and denominator of the
  simplest rationals that cannot be expressed as the sum of fewer than
  n unit fractions.

part:
  Count the partitions of a n-dimensional cube of side 2, with or without
  symmetries.

wilson:
  Explore rationals r that may be solutions to David Wilson's puzzle:
  starting at 1, add r and then repeatedly either add r or take the
  reciprocal, trying to get back to 1.

About

Sequence-related code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published