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.

A369566 Powerful numbers whose prime factors are all of the form 3*k + 2.

Original entry on oeis.org

1, 4, 8, 16, 25, 32, 64, 100, 121, 125, 128, 200, 256, 289, 400, 484, 500, 512, 529, 625, 800, 841, 968, 1000, 1024, 1156, 1331, 1600, 1681, 1936, 2000, 2048, 2116, 2209, 2312, 2500, 2809, 3025, 3125, 3200, 3364, 3481, 3872, 4000, 4096, 4232, 4624, 4913, 5000
Offset: 1

Views

Author

Amiram Eldar, Jan 26 2024

Keywords

Comments

Closed under multiplication.

Crossrefs

Intersection of A001694 and A004612.
Similar sequence: A352492, A369563, A369564, A369565.

Programs

  • Mathematica
    q[n_] := n == 1 || AllTrue[FactorInteger[n], Mod[First[#], 3] == 2 && Last[#] > 1 &]; Select[Range[5000], q]
  • PARI
    is(n) = {my(f = factor(n)); for(i = 1, #f~, if(f[i, 1]%3 != 2 || f[i, 2] == 1, return(0))); 1;}

Formula

Sum_{n>=1} 1/a(n) = Product_{primes p == 2 (mod 3)} (1 + 1/(p*(p-1))) = (9/8) * A333240 * A334479 = 1.6053538210...