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!)
A356322 a(n) is the smallest number that starts a run of exactly n consecutive numbers in A126706, or -1 if no such number exists. 4
12, 44, 98, 3174, 844, 22020, 217070, 1092747, 8870024, 262315467, 221167422, 47255689915, 82462576220, 1043460553364, 79180770078548 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Term a(n) begins a run of n consecutive nonsquarefree numbers m such that omega(m) > 1.
The run of m must occur between successive primes.
LINKS
Rémy Sigrist, C program
EXAMPLE
a(n) is the first term in the sequences shown below:
n: a(n)..a(n)+n-1
-----------------
1: {12}
2: {44, 45}
3: {98, 99, 100}
4: {3174, 3175, 3176, 3177}
5: {844, 845, 846, 847, 848}
6: {22020, 22021, 22022, 22023, 22024, 22025}
7: {217070, 217071, 217072, 217073, 217074, 217075, 217076}
...
There are 4 consecutive numbers m in A126706 starting from 844 and again from 2888, but since 848 and 2892, respectively, are also in A126706, these m ascribe to n = 5 instead. The range m = 3174..3177 has at most n = 4 numbers in A126706 and 3174 is the smallest number with that quality, hence a(4) = 3174.
MATHEMATICA
j = 0; k[_] = False; Sort[Reap[Do[If[And[#2 > 1, #1 != #2] & @@ {PrimeOmega[n], PrimeNu[n]}, j++; If[! IntegerQ[c], Set[c, n]], If[j > 0, If[! k[j], Sow[{j, c}] ]; Set[{k[j], j}, {True, 0}]; Clear[c] ] ], {n, 2^16}] ][[-1, -1]] ][[All, -1]]
PROG
(C) See Links section.
CROSSREFS
Sequence in context: A296181 A007899 A343729 * A100156 A320998 A294521
KEYWORD
nonn,more
AUTHOR
Michael De Vlieger, Oct 28 2022
EXTENSIONS
a(10)-a(11) from Rémy Sigrist, Oct 29 2022
a(12)-a(14) from Martin Ehrenstein, Oct 30 2022
a(15) from Martin Ehrenstein, Nov 02 2022
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 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)