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-2 of 2 results.

A193929 Number of prime factors of n^4 + 1, counted with multiplicity.

Original entry on oeis.org

0, 1, 1, 2, 1, 2, 1, 2, 2, 3, 2, 2, 2, 2, 2, 3, 1, 2, 2, 3, 1, 2, 2, 2, 1, 3, 2, 3, 1, 2, 2, 3, 2, 3, 1, 2, 2, 3, 2, 2, 2, 3, 2, 4, 3, 3, 1, 3, 1, 3, 2, 3, 2, 3, 1, 3, 1, 2, 2, 4, 3, 2, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 2, 2, 1, 3, 3, 4, 2, 4, 1, 2, 1, 4, 2, 4, 2, 3, 1, 3, 1, 3, 2, 3, 2, 4, 3, 3, 2, 3, 2, 3, 2, 2, 3, 2, 1, 3, 2, 3, 3, 4, 2, 2, 2, 2, 2, 3, 1
Offset: 0

Views

Author

Jonathan Vos Post, Aug 09 2011

Keywords

Comments

This is to A193330 as A002523(n) = n^4+1 is to A002522(n) = n^2 + 1. a(n) = 2 when n^4+1 is prime, iff n is in A037896.

Examples

			a(9) = 3 because 9^4+1 = 6562 = 2 * 17 * 193, which has 3 prime factors, counted with multiplicity
		

Crossrefs

Programs

  • Magma
    [0] cat [&+[p[2]: p in Factorization(n^4+1)]:n in [1..120]]; // Marius A. Burtea, Feb 09 2020
  • Mathematica
    Join[{0}, Table[Total[Transpose[FactorInteger[n^4 + 1]][[2]]], {n, 100}]] (* T. D. Noe, Aug 10 2011 *)
    Join[{0},Table[PrimeOmega[n^4+1],{n,120}]] (* Harvey P. Dale, Sep 25 2012 *)
  • PARI
    a(n) = bigomega(n^4+1); \\ Michel Marcus, Feb 09 2020
    

Formula

a(n) = A001222(A002523(n)) = bigomega(n^4+1) or Omega(n^4+1).

A194003 Number of prime factors of n^8 + 1, counted with multiplicity.

Original entry on oeis.org

0, 1, 1, 3, 1, 3, 2, 3, 3, 2, 2, 3, 3, 2, 3, 3, 2, 3, 2, 3, 2, 3, 2, 4, 3, 3, 2, 6, 2, 4, 3, 3, 2, 2, 2, 4, 3, 3, 2, 4, 6, 3, 2, 2, 4, 3, 3, 2, 3, 3, 2, 2, 2, 2, 3, 3, 2, 5, 2, 3, 2, 4, 4, 4, 3, 6, 2, 5, 2, 2, 2, 5, 2, 5, 4, 4, 3, 4, 3, 5, 4, 2, 3, 4, 2, 4
Offset: 0

Views

Author

Jonathan Vos Post, Aug 10 2011

Keywords

Comments

This is to A193330 as A002523(n) = n^4+1 is to A002522(n) = n^2 + 1, and as A060890(n) = n^8+1 is to A002522(n) = n^2 + 1. a(n) = 1 when n^8+1 is prime, iff n is in {1, 2, 4} unless there is a larger Fermat prime than 65537.

Examples

			a(10) = 2 because 10^8 + 1 = 100000001 = 17 * 5882353 has 2 prime factors.
a(40) = 6 because 40^8 + 1 = 6553600000001 = 17^2 * 113 * 337 * 641 * 929 has 6 prime factors (with multiplicity) and is the smallest example not squarefree.
		

Crossrefs

Programs

  • Magma
    [0] cat [&+[p[2]: p in Factorization(n^8+1)]:n in [1..90]]; // Marius A. Burtea, Feb 09 2020
  • Mathematica
    Join[{0}, Table[Total[Transpose[FactorInteger[n^8 + 1]][[2]]], {n, 50}]]
    PrimeOmega[Range[0,90]^8+1] (* Harvey P. Dale, May 27 2018 *)
  • PARI
    a(n) = bigomega(n^8+1); \\ Michel Marcus, Feb 09 2020
    

Formula

a(n) = A001222(A060890(n)) = bigomega(n^8+1) or Omega(n^8+1)
Showing 1-2 of 2 results.