login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A378722
a(1) = 1, a(2) = 2. For n > 2, a(n) is the smallest number not already a term which is divisible by A007947(a(n-1)/A020639(a(n-1))).
1
1, 2, 3, 4, 6, 9, 12, 18, 15, 5, 7, 8, 10, 20, 30, 45, 60, 90, 75, 25, 35, 14, 21, 28, 42, 63, 84, 126, 105, 70, 140, 210, 315, 420, 630, 525, 175, 245, 49, 56, 98, 77, 11, 13, 16, 22, 33, 44, 66, 99, 132, 198, 165, 55, 88, 110, 220, 330, 495, 660, 990, 825, 275
OFFSET
1,2
COMMENTS
In other words a(n) is the least novel multiple of the squarefree kernel of a(n-1)/p, where p is the smallest prime factor of a(n-1).
If a(n-1) is prime, a(n) is the smallest unused number in the sequence so far.
Conjectured to be a permutation of the positive integers with primes in order.
LINKS
Michael De Vlieger, Log log scatterplot of a(n), n = 1..2^20.
Michael De Vlieger, Log log scatterplot of a(n), n = 1..2^14, showing primes in red, proper prime powers in gold, squarefree composites in green, and numbers neither squarefree nor prime powers in blue and purple, where purple also shows powerful numbers that are not prime powers.
EXAMPLE
a(2)= 2 (given), therefore a(3) is the smallest number not already a term which is divisible by the squarefree kernel of 2/2 = 1. Thus a(3) = 3. Likewise a(4) = 4. Since A007947(4/2) = 2, a(5) = 6, the least novel multiple of 2.
MATHEMATICA
nn = 120; c[_] := False; m[_] := 1;
Do[Set[{a[i], c[i]}, {i, True}], {i, 2}]; j = a[2];
Do[k = Times @@ FactorInteger[j/FactorInteger[j][[1, 1]] ][[All, 1]];
While[c[k*m[k]], m[k]++]; k *= m[k];
Set[{a[n], c[k], j}, {k, True, k}], {n, 3, nn}];
Array[a, nn] (* Michael De Vlieger, Dec 06 2024 *)
CROSSREFS
Sequence in context: A062121 A094995 A375980 * A018591 A309591 A018669
KEYWORD
nonn,easy,new
AUTHOR
EXTENSIONS
More terms from Michael De Vlieger, Dec 06 2024.
STATUS
approved