PHPackages                             vsn/int-seq - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. vsn/int-seq

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vsn/int-seq
===========

VSN IntegerSequences PHP 5.6 archive

20

Since Aug 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/vigilance91/integerSequences-php)[ Packagist](https://packagist.org/packages/vsn/int-seq)[ RSS](/packages/vsn-int-seq/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Integer Sequences-php
=====================

[](#integer-sequences-php)

Copyright (C) June 2016-present, Tyler R. Drury. All Rights Reserved.
=====================================================================

[](#copyright-c-june-2016-present-tyler-r-drury-all-rights-reserved)

---

This project contains php scripts which can be accessed world wide on a PHP server, for the inclusion in front or back end website development, allowing for the convenient representation and calculation of common integer sequences, including

- Factorials
- Prime numbers
- Horadam numbers
- Polygonal numbers
- Pascal numbers
- Hofstadter numbers

Developed and maintained by Tyler R. Drury,

---

Platforms Supported
-------------------

[](#platforms-supported)

- PHP 5.6+

---

Primary Developer
-----------------

[](#primary-developer)

- Tyler R. Drury

Additional Contributors
-----------------------

[](#additional-contributors)

---

Use
---

[](#use)

For front-end use in browsers, please use JavaScript to make AJAX requests.

*note*-for convenience jQuery is used in the example.

```
$.get(
    '...intSeq\\fibonnacci.php?N=20',
    function(obj){console.log(obj.toString());}
);

```

or alternately if a constant series is required when the webpage is served, replacing the html pre code tags with script tags.

```

var f = ;

console.log(f);

```

For back-end developers, the most current stable Source Code can be found here, or for developers whom wish to contribute, through the GitHub repo [here](https://github.com/vigilance91/integerSequences-php).

After installing the integerSequence directory on your server, scripts may access the namespace and its contents in the following manner.

```
require_once 'integerSequence.php';

use integerSequence\Horadam as Horadam;
use integerSequence\Fibonacci as fib;
use integerSequence\getPrimes;

$p = getPrimes(1000) //calculate all primes up to 1000
$h = Horadam(2,3,1,2);    //unnamed Horadam sequence
$s = $h->series(20);
$f = fib::series(20);

echo json_encode(
    'primes'=>$p,
    'horadam'=>$s,
    'fib'=>$f
);

```

This script will return a JSON encoded object containing all prime numbers up to 1000, the first 20 elements of an arbitrary, unnamed Horadam sequence, along with the first 20 elements of the Fibonacci sequence.

---

Related Projects
----------------

[](#related-projects)

Similar or related projects for various platforms can also be found here

### Libraries

[](#libraries)

- [IntegerSequences-cpp](https://github.com/vigilance91/integerSequences-cpp) a compiled C++17 compatible library for generating common sequences of integers
- [IntegerSequences-js](https://github.com/vigilance91/integerSequences-js) a Javascript library for generating common sequences of integers for web browsers
- [IntegerSequences-py](https://github.com/vigilance91/integerSequences-py) a Pure Python Package for generating common sequences of integers

---

Additional On-line References and Resources
-------------------------------------------

[](#additional-on-line-references-and-resources)

- [PHP IntegerSequence Reference](https://vigilance91.github.io/integerSequences-php/index.html)
- The [On-line Encyclopaedia of Integer Sequences](https://oeis.org)

---

Acknowledgements
----------------

[](#acknowledgements)

- [Neil Sloane](http://neilsloane.com/), founder of the Online Encyclopaedia of Integer Sequences

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b4c4dbed72f4ef6c5d87368a62a79bea9ca6bd4fc0d467751db00174739964c?d=identicon)[vigilance91](/maintainers/vigilance91)

---

Top Contributors

[![vigilance91](https://avatars.githubusercontent.com/u/9787915?v=4)](https://github.com/vigilance91 "vigilance91 (9 commits)")

### Embed Badge

![Health badge](/badges/vsn-int-seq/health.svg)

```
[![Health](https://phpackages.com/badges/vsn-int-seq/health.svg)](https://phpackages.com/packages/vsn-int-seq)
```

###  Alternatives

[ffraenz/private-composer-installer

A composer install helper for private packages

2321.7M5](/packages/ffraenz-private-composer-installer)[kartik-v/yii2-tabs-x

A supercharged Bootstrap tabs widget with ability to align tabs in multiple ways, add borders, rotated titles, and more.

311.4M22](/packages/kartik-v-yii2-tabs-x)[isszz/rotate-captcha

Rotate image captcha

801.9k](/packages/isszz-rotate-captcha)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
