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.

A268574 Numbers k such that (2^k + 1)^2 - 2 is a semiprime.

Original entry on oeis.org

4, 6, 7, 10, 11, 14, 22, 36, 38, 39, 44, 45, 48, 49, 60, 72, 74, 75, 89, 92, 96, 99, 105, 110, 111, 113, 116, 131, 138, 143, 150, 170, 173, 182, 194, 201, 212, 234, 260, 282, 300, 317, 335, 341, 345, 383, 405
Offset: 1

Views

Author

Vincenzo Librandi, Feb 21 2016

Keywords

Comments

a(48) >= 428. - Serge Batalov, Feb 25 2023

Examples

			a(1) = 4 because 17^2 - 2 = 287 = 7*41, which is semiprime.
a(2) = 6 because 65^2 - 2 = 4223 = 41*103, which is semiprime.
		

Crossrefs

Programs

  • Magma
    IsSemiprime:=func; [n: n in [1..110]| IsSemiprime(s) where s is (2^n+1)^2-2];
    
  • Mathematica
    Select[Range[105], PrimeOmega[(2^# + 1)^2 - 2] == 2 &]
  • PARI
    isok(n) = bigomega((2^n+1)^2-2) == 2; \\ Michel Marcus, Feb 22 2016

Extensions

a(25)-a(39) from Hugo Pfoertner, Aug 05 2019
a(40)-a(41) from chris2be8@yahoo.com, Feb 25 2023
a(42)-a(47) from Serge Batalov, Feb 26 2023