mdbtxt1
mdbtxt2
Proceed to Safety

Accelerating Sequences    

This page collects together a large number of integer sequences that interest me because of their accelerating growth. There are several other sequence pages, here is the index.

The Inspiration

When I was in about the 3rd or 4th year of school, I had just learned multiplication tables, and was already quite excited by the idea of large numbers. I therefore began learning my "exponent tables" (see the table I memorized at 7776).

Linear, then Polynomial, then Exponential, then Faster

The kind of sequence I am most passionate about is one that starts out growing at an apparently linear rate, like the integers and then at a polynomial rate like the squares and cubes; and then faster and faster, so as to eventually outpace exponential growth, the lower and higher forms of "tetration", and so on.

a + b*c form

0, 0, 1, 1, 1, 2, 3, 5, 11, 26, 81, 367, 2473, 32200, 939791, 80570391, 30341840591, 75749670168872, 2444729709746709953, 2298386861814452020993305, 185187471463742319884263934176321, 5618934645754­48431­83024­53706­79917­47240­40986, 42563245138490971­52425­81951­98286­08386­27778­26093­01545­71891, 1040556299367291­62614­14721­84594­83128­97735­62749­59674­64667­84696­20504­67092­64397, ...

A6888 : a(n) = a(n-1) + a(n-2) a(n-3).

a + b*c + de form

These all use the same (recurrence relation) formula, but differ in the initial terms. In all cases there are 5 initial terms, consisting of a set 0's followed by a set of 1's.

0, 0, 1, 1, 1, 3, 5, 9, 25, 73, 423, 61297, 3814697357801, 382887777448­33624­09315­42491­90851­26268­48870­27625, 528258894752­34208­66548­53145­21544­08029­71528­57979­03343­08951­11381­32252­99979­01869­16717­99930­53170­20818­52951­55010­47375­44671­92531­24351­06846­55006­44765­45745­31321­84933­05704­45656­86745­26765­58994­58126­20905, ...

A171877 : a(n) = a(n-1) + a(n-2) a(n-3) + a(n-4)a(n-5).

0, 0, 0, 1, 1, 2, 4, 7, 16, 46, 174, 3311, 268446771, 40190675620206992­77273­30981, 11621586552644­41146­79079­86009­69541­41597­53052­04018­00773­44164­07271­28417­56067­59241­34859­31632­19559­44536­22338, ...

A171874 : a(n) = a(n-1) + a(n-2) a(n-3) + a(n-4)a(n-5).

0, 0, 0, 0, 1, 2, 3, 6, 13, 33, 120, 765, 4831534, 55040353993453427047, 41018627024600­22253­36426­10359­35006­72000­00000­00000­55040­35399­71495­50557, ...

A171878 : a(n) = a(n-1) + a(n-2) a(n-3) + a(n-4)a(n-5).

In the last of these is a string of 0's that is due to the term a(n-4)a(n-5) taking on the value 12033, which itself ends in 33 zeros, and the remaining part a(n-1)+a(n-2)×a(n-3) is small enough to leave a bunch of zeros visible in the total.

a + b*c + d*ef form

These all use the same (recurrence relation) formula, but differ in the initial terms. In all cases there are 6 initial terms, consisting of a set 0's followed by a set of 1's.

0, 0, 1, 1, 1, 1, 3, 5, 9, 25, 73, 313, 3263, 1502337, 278472902914281, 119843874341329­24341­15727­99967­36444­30483­90560­33321, ...

A171879 : a(n) = a(n-1) + a(n-2) a(n-3) + a(n-4) a(n-5)a(n-6).

0, 0, 0, 1, 1, 1, 2, 4, 7, 16, 46, 166, 1014, 47066, 12348246366, 66716521529543607970475115226, 1352103711242068­19235­39123­70110­08545­60937­03250­69465­77831­09527­04873­88157­28419­90344­09872­68632­27351­50792­82406, ...

A171880 : a(n) = a(n-1) + a(n-2) a(n-3) + a(n-4) a(n-5)a(n-6).

a + b*c + d*ef + g*hij form

These whimsical sequences use the "lower hyper4" operator defined here.

They all use the same (recurrence relation) formula, but differ in the initial terms. In all cases there are 10 initial terms, consisting of a set of 0's followed by a set of 1's. The 18th term (i.e. the 8th term after the ten 0's and 1's) is shown in bold.

0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 4, 7, 13, 43, 139, 727, 37918, 2698325206, 238838713­27524­11450­40397, 10260554270­12673­20250­69486­61895­29822­54058­68036­57649­16266­19162­19733­79483­93612­69512­58641­96615­88931, ...

0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 3, 6, 11, 31, 101, 461, 5969, 54970924, 2566256166594610582, 6275719334­68154­19996­91250­61993­34550­96286­22396­63434­03981­55561­37875, ...

0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 3, 5, 10, 27, 81, 367, 3805, 2733535, 16677181703796554, 1240970832­26284­05678­55391­28036­79525­09479­53676­69333­20366, ...

0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 3, 5, 9, 26, 75, 325, 3401, 1563053, 407212778591593, 183432467927­71883­41330­88421­36757­44831­96926­03308­64096, ...

0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 2, 4, 7, 16, 47, 168, 1033, 47347, 12616687331, 952521985­78077­62762­55619­45222, 3541752640073­67704­87203­01784­75991­34994­60027­28041­61169­11866­18622­48395­27958­41278­39949­56805­49414­07046­09252­47112­84598­45643­62653­87426­69998­67948­24089­96270­27153­56926­18633­39562­19724­87424­89537­88371­08145­12066­30341­01148­34242­06351, ...

0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 2, 4, 7, 16, 47, 168, 1033, 47347, 12616687331, 95252198578077627625561945222, 3541752640073...06351, ...

(These last two are the same except for one extra zero at the beginning.)

Continuing this game

I would want to continue, surpassing the various "hyperfactorials", the higher hyper Operators, and so on, with no end. Before I got around to it, I decided to switch my focus over to the busy beaver function, which is guaranteed to grow faster than anything we can compute directly (e.g. with functions and operators recursively defined in terms of addition). It's a bit unsatisfying in that only a few initial terms will ever be known and the next term (i.e. the first unknown term) is guaranteed to be at least 13pt1.26720185×1010565, which is way to big to print here in actual digits.

1, 6, 21, 107, 47176870, ...

Eventually Oscillating Recurrence Formulas

In 2004 I began developing the recurrence relation idea into an automatic search for all sequences meeting certain criteria, such as simplicity of the formula or including certain desired terms. This eventually led to the MCS webpage. During this time I found countless sequences that behave like this:

2, 3, 4, 8, 10, 14, 19, 21, 28, 31, 35, 43, 43, 52, 56, 57, 70, 66, 76, 84, 77, 99, 90, 97, 117, 93, 129, 118, 110, 159, 104, 156, 158, 106, 215, 113, 168, 227, 71, 287, 135, 136, 356, -11, 362, 214, 0, 592, -143, 383, 454, -347, 985, -271, 189, 1066, -1062, 1531, -180, -592, 2418, -2298, 2011, 717, -2700, 5031, -3989, 1619, 3747, -7396, 9360, -5263, -1778, 11498, -16396, 14988, -3115, -12901, 28274, -30999, 18493, 10181, -40775, 59678, -49082, 8727, 51376, -100028, 109190, -57374, -42209, 151849, -208768, 167019, -14705, -193593, 361087, -375312, 182204, 179373, -554190, 736894, -557016, 3336, 734073, -1290569, 1294430, -559827, -730207, 2025177, -2584459, 1854802, 170930, -2754829, 4610196, -4438696, 1684442, 2926334, -7364445, 9049477, -6122548, -1241297, 10291379, -16413317, 15172635, -4880636, -11532056, 26705321, -31585322, 20053906, 6652060, -38236732, 58291293, ...

MCS52150530 : A0 = 2; A1 = 3; A2 = 4; AN+1 = - AN + AN-2 + 5 N

Source Code

The following MAXIMA code computes and prints three of the sequences above, the ones that use the recurrence formula "AN = AN-1 + AN-2AN-3 + AN-4AN-5. Most of the others above can be generated with similar code :

   /* When MACSYMA was young, its designers and/or users apparently had some uncertainly about how to handle 0^0. But for most integer applications using a general formula (like binomial expansion) to be consistent, 0^0 has to be 1. For details, see: http://en.wikipedia.org/wiki/Exponentiation#Zero_to_the_zero_power */    p(b,e) := block([], if ((b=0) and (e=0)) then return(1), return(b^e) )$    rec2b(n, z) := block([i,l,t], l:append(makelist(0,i,1,z),makelist(1,i,z+1,5)), for i:6 thru n step 1 do ( t:l[i-1] + l[i-2]*l[i-3] + p(l[i-4],l[i-5]), l:append(l,[t]) ), return(l) )$ print("a + b*c + d^e :")$ print(rec2b(15,2)); print(rec2b(15,3)); print(rec2b(15,4));



Robert Munafo's home pages on AWS    © 1996-2025 Robert P. Munafo.    about    contact
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. Details here.

This page was written in the "embarrassingly readable" markup language RHTF, and was last updated on 2025 Apr 30. s.27