login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A300059 Numbers k such that k and k+1 are terms of A279767. 0
17, 54, 247, 339, 347, 721, 849, 948, 1060, 1147, 1203, 1204, 1240, 1276, 1313, 1314, 1666, 1671, 2147, 2715, 2947, 2948, 3257, 3580, 3649, 3650, 4043, 4264, 4626, 4841, 5091, 5092, 5450, 5740, 5764, 6243, 6354, 6355, 6564, 6639, 6850, 6962, 7361, 7403, 7756, 7771, 7849, 7939 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For certain values of n, a(n) - a(n - 1) = 1. The smallest such term is a(12). The next two terms are a(16) and a(32).
a(12)-a(11)=1 tells us there are three consecutive terms of A279767 that are consecutive numbers and these are A279767(149)=1203, A279767(150)=1204, and A279767(151)=1205.
a(16) and a(32) tells us other such triples exist in A279767.
The first triple of consecutive terms in this sequence begins with a(197). This tells us there are four consecutive terms of A279767 that are consecutive numbers and these are A279767(4605)=41058, A279767(4606)=41059, A279767(4607)=41060, and A279767(4068)=41061.
The first run of four consecutive terms of this sequence that are also consecutive numbers begins at a(1557).
Conjecture: If a run of consecutive terms that are also consecutive numbers of length m exists in this sequence, then there also exists a run of length m + 1.
The smallest term where a(n)-a(n-1)=a(n-2)-a(n-3)=1 is a(53). The next such term is a(162).
LINKS
Wikipedia, Prime signature
EXAMPLE
17 is in the list because 17 and 19 have the same prime signature {1}, and 18 and 20 have the same prime signature {1,2}. Note, order doesn't matter.
MATHEMATICA
With[{s = Array[Sort[FactorInteger[#][[All, -1]]] &, 10^4]}, Function[t, t[[Flatten@ Position[Differences@ t, 1] ]] ]@ Select[Range[Length@ s - 2], s[[#]] == s[[# + 2]] &]] (* Michael De Vlieger, Feb 26 2018 *)
PROG
(PARI) isok1(n) = vecsort(factor(n)[, 2]) == vecsort(factor(n+2)[, 2]);
isok(n) = isok1(n) && isok1(n+1); \\ Michel Marcus, Feb 25 2018
CROSSREFS
Cf. A279767.
Sequence in context: A228244 A158968 A072895 * A097059 A253424 A309032
KEYWORD
nonn
AUTHOR
Torlach Rush, Feb 23 2018
EXTENSIONS
More terms from Michel Marcus, Feb 25 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)