cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A380969 a(n) is the smallest k such that tau(k^2 + 1) is equal to 2^n, where tau = A000005 and a(n) = -1 if no such k exists.

Original entry on oeis.org

0, 1, 3, 13, 47, 307, 2163, 17557, 191807, 1413443, 16485763, 169053487
Offset: 0

Views

Author

Juri-Stepan Gerasimov, Feb 09 2025

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_]:=Module[{k=0}, While[DivisorSigma[0, k^2+1]!=2^n, k++]; k]; Array[a, 9,0] (* Stefano Spezia, Feb 10 2025 *)
  • PARI
    a(n) = my(k=0); while (numdiv(k^2+1) != 2^n, k++); k; \\ Michel Marcus, Feb 09 2025

Formula

a(n) = A353008(2^(n-1)) for n > 0.

Extensions

a(10)-a(11) from Stefano Spezia, Feb 12 2025
Showing 1-1 of 1 results.