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.
%I A365884 #7 Sep 23 2023 15:01:30 %S A365884 27,188,459,620,675,836,1107,1268,1323,1484,1755,1916,1971,2132,2403, %T A365884 2564,2619,2780,3051,3124,3212,3267,3428,3699,3860,3915,4076,4347, %U A365884 4508,4563,4724,4995,5156,5211,5372,5643,5804,5859,6020,6291,6452,6507,6668,6939,7100 %N A365884 Numbers k such that k and k+1 are both terms of A365883. %C A365884 The numbers of terms not exceeding 10^k, for k = 2, 3, ..., are 1, 6, 63, 623, 6216, 62157, 621565, 6215645, 62156450, 621564494, ... . Apparently, the asymptotic density of this sequence exists and equals 0.00621564... . %H A365884 Amiram Eldar, <a href="/A365884/b365884.txt">Table of n, a(n) for n = 1..10000</a> %e A365884 27 = 3^3 is a term since its least prime factor, 3, is equal to its exponent, and also the least prime factor of 28 = 2^2 * 7, 2, is equal to its exponent. %t A365884 q[n_] := Equal @@ FactorInteger[n][[1]]; consec[kmax_] := Module[{m = 1, c = Table[False, {2}], s = {}}, Do[c = Join[Rest[c], {q[k]}]; If[And @@ c, AppendTo[s, k - 1]], {k, 1, kmax}]; s]; consec[7200] %o A365884 (PARI) lista(kmax) = {my(q1 = 0, q2); for(k = 2, kmax, q2 = #Set(factor(k)[1,]) == 1; if(q1 && q2, print1(k-1, ", ")); q1 = q2);} %Y A365884 Subsequence of A365883 and A365890. %Y A365884 A365885 is a subsequence. %K A365884 nonn,easy %O A365884 1,1 %A A365884 _Amiram Eldar_, Sep 22 2023