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.

A154704 a(n) = smallest number k such that k-1 and k+1 both have exactly n prime divisors (counted with multiplicity).

Original entry on oeis.org

4, 5, 19, 55, 271, 1889, 10529, 59777, 101249, 406783, 6581249, 12164095, 65071999, 652963841, 6548416001, 13858918399, 145046192129, 75389157377, 943344975871, 23114453401601, 108772434771967, 101249475018751, 551785225781249, 9740041658826751, 136182187711004671, 4560483868737535
Offset: 1

Views

Author

Klaus Brockhaus, Jan 14 2009, Jan 15 2009

Keywords

Comments

Similar to A154598, where k is restricted to primes.
m=2*a(n) is the least number m such that m-2 and m+2 have exactly n+1 prime factors, counted with multiplicity. - Hugo Pfoertner, Apr 02 2024

Examples

			For k = 4, k-1 = 3 and k+1 = 5 (twin primes) both have one factor and 4 is the smallest such number.
For k = 55, k-1 = 54 = 2*3*3*3 and k+1 = 56 = 2*2*2*7 both have four factors and 55 is the smallest such number.
For k = 59777, k-1 = 59776 = 2*2*2*2*2*2*2*467 and k+1 = 59778 = 2*3*3*3*3*3*3*41 both have eight factors and 59777 is the smallest such number.
		

Crossrefs

Cf. A001222 (number of prime divisors of n).

Programs

Formula

a(n) = 2*A115186(n-1) + 1 for n > 1. - Hugo Pfoertner, Apr 02 2024

Extensions

a(15)-a(23) from Donovan Johnson, Jan 21 2009
a(24)-a(26) from Daniel Suteu, Aug 12 2023