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.

A367802 Exponentially odious squares.

Original entry on oeis.org

1, 4, 9, 16, 25, 36, 49, 81, 100, 121, 144, 169, 196, 225, 256, 289, 324, 361, 400, 441, 484, 529, 625, 676, 784, 841, 900, 961, 1089, 1156, 1225, 1296, 1369, 1444, 1521, 1681, 1764, 1849, 1936, 2025, 2116, 2209, 2304, 2401, 2500, 2601, 2704, 2809, 3025, 3249
Offset: 1

Views

Author

Amiram Eldar, Dec 01 2023

Keywords

Comments

First differs from A354180 at n = 226.
Numbers whose prime factorization contains only exponents that are even odious numbers (A128309).
Also, squares of exponentially odious numbers (A270428).

Crossrefs

Intersection of A000290 and A270428.

Programs

  • Mathematica
    odiousQ[n_] := OddQ[DigitCount[n, 2, 1]]; Select[Range[150]^2, AllTrue[FactorInteger[#][[;;, 2]], odiousQ] &]
  • PARI
    isexpodious(n) = {my(f = factor(n)); for (i = 1, #f~, if(!(hammingweight(f[i, 2])%2), return (0))); 1;}
    is(n) = issquare(n) && isexpodious(n);

Formula

a(n) = A270428(n)^2.
Sum_{n>=1} 1/a(n) = Product_{p prime} (1 + Sum_{k>=1} 1/p^A128309(k)) = Product_{p prime} f(1/p) = 1.62202332101829028287..., where f(x) = 1 + (2/(1-x^2) - Product_{k>=0} (1 - x^(2^k)) - Product_{k>=0} (1 - (-x)^(2^k)))/4.

A369567 Powerful exponentially 2^n-numbers: numbers whose prime factorization contains only exponents that are powers of 2 that are larger than 1.

Original entry on oeis.org

1, 4, 9, 16, 25, 36, 49, 81, 100, 121, 144, 169, 196, 225, 256, 289, 324, 361, 400, 441, 484, 529, 625, 676, 784, 841, 900, 961, 1089, 1156, 1225, 1296, 1369, 1444, 1521, 1681, 1764, 1849, 1936, 2025, 2116, 2209, 2304, 2401, 2500, 2601, 2704, 2809, 3025, 3249
Offset: 1

Views

Author

Amiram Eldar, Jan 26 2024

Keywords

Comments

First Differs from A354180 and A367802 at n = 113.
Also, exponentially 2^n-numbers that are squares.
Also, squares of exponentially 2^n-numbers.

Crossrefs

Intersection of A001694 and A138302.
Intersection of A000290 and A138302.

Programs

  • Mathematica
    q[n_] := AllTrue[FactorInteger[n][[;; , 2]], # > 1 && # == 2^IntegerExponent[#, 2] &]; Select[Range[3300], # == 1 || q[#] &]
  • PARI
    is(n) = {my(e = factor(n)[, 2]); if(n == 1, 1, for(i = 1, #e, if(e[i] == 1 || e[i] >> valuation(e[i], 2) > 1, return(0))); 1);}

Formula

a(n) = A138302(n)^2.
Sum_{n>=1} 1/a(n) = Product_{p prime} (1 + Sum_{k>=1} 1/p^(2^k)) = 1.62194750148969761827... .
Showing 1-2 of 2 results.