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.

A069346 Primes of the form n - Omega(n), where Omega(n) is the number of prime factors of n, A001222(n).

Original entry on oeis.org

2, 5, 7, 13, 17, 19, 23, 31, 37, 41, 43, 47, 53, 67, 73, 83, 89, 103, 107, 109, 113, 127, 131, 139, 151, 157, 163, 167, 179, 181, 199, 211, 227, 233, 239, 241, 251, 257, 263, 281, 283, 293, 307, 311, 313, 317, 337, 347, 353, 359
Offset: 1

Views

Author

Reinhard Zumkeller, Mar 18 2002

Keywords

Comments

The representation is ambiguous, see A069347.

Examples

			a(10) = 41 = A069345(44) = 44-3 (as 44 = 2*2*11).
		

Crossrefs

Programs

  • Mathematica
    Select[Table[n - PrimeOmega[n], {n, 1, 400}], PrimeQ] // Union (* Jean-François Alcover, Jun 08 2013 *)
  • PARI
    is(n)=for(k=1, log(n)\log(2)+1, if(bigomega(n+k)==k, return(isprime(n)))); 0 \\ Charles R Greathouse IV, Dec 10 2013