# The Wolfram code to compute the sequence A381080(5) ...

**URL:** <https://community.wolfram.com/t/the-wolfram-code-to-compute-the-sequence-a381080-5/25276>\
**Category:** Ideas\
**Created:** [March 19, 2025, 7:12am UTC](https://community.wolfram.com/t/the-wolfram-code-to-compute-the-sequence-a381080-5/25276 "2025-03-19T07:12:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mheidemaa](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mheidemaa](https://community.wolfram.com/u/mheidemaa)\
**Post date:** [March 19, 2025, 7:12am UTC](https://community.wolfram.com/t/the-wolfram-code-to-compute-the-sequence-a381080-5/25276/1 "2025-03-19T07:12:20Z")

</div>

(\* a(0)…a(5); a(5) has 19724 decimal digits: _)  
a[1, 0, 0] = 1; a[1, 1, 0] = 1; a[1, n\_, q\_] := 0 /; (q != 0 || (n =!= 0 && n =!= 1)); a[k\_Integer?Positive, n\_Integer, q\_Integer] /; k \>= 2 := a[k, n, q] = Sum[Binomial[2^q - 2^(q - m), n] \* a[k - 1, m, q - m], {m, 0, q}]; maxq[1] = 0; maxq[k\_Integer?Positive] /; 5 \>= k \>= 2 := maxq[k] = 2^(maxq[k - 1]); aTot[0] = 1; aTotal[k\_Integer?Positive] := aTot[k] = Sum[a[k, n, q], {q, 0, maxq[k]}, {n, 0, 2^q}];  
Table[aTot[k], {k, 0, 5}] (_ or _)  
sPrt[mx\_, i\_, j\_] := If[1 \<= i \<= Length[mx] && 1 \<= j \<= Length[mx[[i]]], mx[[i, j]], 0]; nxtL[prev\_] := Block[{qmax}, qmax = 2^(Length[prev] - 1); Table[Table[ Sum[ sPrt[prev, q - m + 1, m + 1] \* Binomial[2^q - 2^(q - m), n], {m, 0, q}], {n, 0, 2^q}], {q, 0, qmax}]]; aTot[n\_] := Prepend[Map[Total[Flatten[#]] &, NestList[nxtL, {{1, 1}}, n]], 1]; Table[aTot[i], {i, 0, 5}] (_ _Mikk Heidemaa_, Mar 17 2025 \*)

[A381080.nb](https://community.wolfram.com/uploads/short-url/1aL0c3DATE2QuLGcTvV2I2rUzei.nb) (47.5 KB)

---

<div class="post-metadata">

**Author:** ![mheidemaa](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mheidemaa](https://community.wolfram.com/u/mheidemaa)\
**Post date:** [March 19, 2025, 8:53am UTC](https://community.wolfram.com/t/the-wolfram-code-to-compute-the-sequence-a381080-5/25276/2 "2025-03-19T08:53:41Z")

</div>

… a(5) has 19724 decimal digits.

---

<div class="post-metadata">

**Author:** ![mheidemaa](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mheidemaa](https://community.wolfram.com/u/mheidemaa)\
**Post date:** [March 19, 2025, 2:01pm UTC](https://community.wolfram.com/t/the-wolfram-code-to-compute-the-sequence-a381080-5/25276/3 "2025-03-19T14:01:56Z")

</div>

Would like to know its factors / divisors… 😉

---

<div class="post-metadata">

**Author:** ![mheidemaa](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mheidemaa](https://community.wolfram.com/u/mheidemaa)\
**Post date:** [March 21, 2025, 8:43am UTC](https://community.wolfram.com/t/the-wolfram-code-to-compute-the-sequence-a381080-5/25276/4 "2025-03-21T08:43:52Z")

</div>

**Abelian orders of hereditarily finite transitive sets**.

**Sequence** :  
1, 2, 3, 6, 12, 2^13868 \* 3^7873 \* 5^2012 \* 7^1911, …

**Conjecture** : a(7) = 2^a ⋅ 3^b ⋅ 5^c ⋅ 7^d ⋅ 11^e ⋅13^f ⋅ … ⋅ P^z.

Try to prove / disprove… (or to find a(7)…?)

---

<div class="post-metadata">

**Author:** ![mheidemaa](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mheidemaa](https://community.wolfram.com/u/mheidemaa)\
**Post date:** [April 14, 2025, 7:01am UTC](https://community.wolfram.com/t/the-wolfram-code-to-compute-the-sequence-a381080-5/25276/5 "2025-04-14T07:01:36Z")

</div>

Mikk Heidemaa, A Formal Presentation of Two Sequences, Their Gödel-Like Encoding, and a Commutative Group-Theoretic Result, (arXiv submission 6339673) (2025), 1-6.  
([A381080 - OEIS](http://oeis.org/A381080))
