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.

A220063 Decades whose semiprime pattern is the same as semiprime pattern in the previous decade.

Original entry on oeis.org

104, 389, 435, 438, 529, 658, 884, 1110, 1183, 1533, 1548, 1557, 1669, 1799, 1824, 1825, 1915, 1993, 2011, 2076, 2085, 2153, 2313, 2355, 2372, 2617, 2628, 2648, 2673, 3204, 3234, 3258, 3280, 3295, 3373, 3415, 3513, 3601, 3636, 3906, 3931, 3936, 4125, 4154
Offset: 1

Views

Author

Jonathan Vos Post, Dec 10 2012

Keywords

Comments

This is to 10 and semiprimes A001358 as A219996 is to 100 and primes A000040. The first decade (1,2,3,4,5,6,7,8,9,10) has a unique pattern, as no decade ending with a multiple k*10 for k>1 ends with a semiprime; so it does not matter whether 10 is at the beginning or the end of a decade.

Examples

			a(1) = 104 because the decade (1030..1039) has the same semiprime pattern as the previous decade: (1020..1029), namely that each has only a single semiprime, respectively 1027 = 13 * 79 and 1037 = 17 * 61. [corrected by _Bobby Jacobs_, Sep 28 2016]
		

Crossrefs

Programs

  • Mathematica
    SemiPrimeQ[n_Integer] := If[Abs[n] < 2, False, (2 == Plus @@ Transpose[FactorInteger[Abs[n]]][[2]])]; nn = 50000; s = Table[SemiPrimeQ[n], {n, nn}]; t = Partition[s, 10]; t2 = {}; Do[If[t[[i]] == t[[i - 1]], AppendTo[t2, i]], {i, 2, Length[t]}]; t2 (* T. D. Noe, Dec 11 2012 *)
    semiPrimeQ[n_] := PrimeOmega@ n == 2; f[n_] := semiPrimeQ@# & /@ (10 n + Range@9); a = f[0]; k = 1; lst = {}; While[k < 10001, b = f[k]; If[a == b, AppendTo[lst, k]]; a = b; k++]; lst (* Robert G. Wilson v, Dec 11 2012 *)

Formula

a(n) ~ n. In particular there are x - 200x log log x/log x + O(x/log x) members of this sequence below x. - Charles R Greathouse IV, Dec 11 2012
a(n) = A277459(n) + 2 = A277460(n) + 1. - Bobby Jacobs, Oct 27 2016

Extensions

All terms from T. D. Noe, Dec 11 2012, and (with 1 already added to each) all terms after the first from Robert G. Wilson v, by email to Jonathan Vos Post.

A277459 Decades with the same semiprime pattern as the next decade.

Original entry on oeis.org

102, 387, 433, 436, 527, 656, 882, 1108, 1181, 1531, 1546, 1555, 1667, 1797, 1822, 1823, 1913, 1991, 2009, 2074, 2083, 2151, 2311, 2353, 2370, 2615, 2626, 2646, 2671, 3202, 3232, 3256, 3278, 3293, 3371, 3413, 3511, 3599, 3634, 3904, 3929, 3934, 4123, 4152
Offset: 1

Views

Author

Bobby Jacobs and N. J. A. Sloane, Oct 16 2016

Keywords

Examples

			a(1)=102 because the decade from 1020 to 1029 has the same semiprime pattern as the decade from 1030 to 1039 (1027 and 1037).
		

Crossrefs

Formula

a(n) = A220063(n)-2.
a(n) = A277460(n)-1.
Showing 1-2 of 2 results.