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.

Previous Showing 41-50 of 127 results. Next

A337687 a(1) = 2; for n > 1, a(n) = smallest number not occurring earlier which shares a prime factor with a(n-1) and also has a prime factor which is not a factor of a(n-1).

Original entry on oeis.org

2, 6, 10, 12, 14, 18, 15, 20, 22, 24, 21, 28, 26, 30, 33, 36, 34, 38, 40, 35, 42, 39, 45, 48, 44, 46, 50, 52, 54, 51, 57, 60, 55, 65, 70, 58, 56, 62, 66, 63, 69, 72, 68, 74, 76, 78, 75, 80, 82, 84, 77, 88, 86, 90, 85, 95, 100, 92, 94, 96, 87, 93, 99, 102, 98, 91, 104, 106, 108, 105, 110, 112
Offset: 1

Views

Author

Scott R. Shannon, Nov 28 2020

Keywords

Comments

Like A336957 no prime or prime power can be a term as if it shared a prime factor with the previous term it would then not contain a prime factor not in the previous term. It is likely all other composite numbers appear.

Examples

			a(2) = 6 as 2*3 = 6, where 2 is a prime factor shared with a(1) = 2 and 3 is a prime factor which is not a factor of a(1).
a(3) = 10 as 2*5 = 10, where 2 is a prime factor shared with a(2) = 6 and 5 is a prime factor which is not a factor of a(2).
a(4) = 12 as 2*2*3 = 12, where 2 is a prime factor shared with a(3) = 10 and 3 is a prime factor which is not a factor of a(3).
		

Crossrefs

Programs

  • PARI
    isok(k, fprec, v) = {if (#select(x->(x==k), v) == 0, my(f = Set(factor(k)[,1]), finter = setintersect(f, fprec)); #setintersect(f, fprec) && #setminus(f, fprec););}
    lista(nn) = {my(va= vector(nn)); va[1] = 2; for (n=2, nn, my(k=2, fprec = Set(factor(va[n-1])[,1])); while (! isok(k, fprec, va), k++); va[n] = k;); va;} \\ Michel Marcus, Nov 30 2020

A361321 Lexicographically earliest infinite sequence of distinct elements of A000469 such that, for n > 2, a(n) has a common factor with a(n-1) but not with a(n-2).

Original entry on oeis.org

1, 6, 10, 35, 21, 33, 22, 14, 91, 39, 15, 55, 77, 42, 26, 65, 85, 34, 38, 57, 51, 119, 70, 30, 69, 161, 133, 95, 110, 46, 299, 143, 66, 58, 145, 105, 78, 62, 155, 115, 138, 74, 185, 165, 87, 203, 154, 82, 123, 93, 217, 182, 86, 129, 111, 259, 238, 94, 141, 159
Offset: 1

Views

Author

Keywords

Comments

This sequence is a variant of A360519 where we only consider nonprime squarefree numbers (A000469).
Theorem: a(1) = 1, a(2) = 6; thereafter, a(n) is the smallest nonprime squarefree number m not yet in the sequence such that
(i) gcd(m, a(n-1)) > 1,
(ii) gcd(m, a(n-2)) = 1, and
(iii) m does not divide a(n-1).
Conjecture: The sequence is a permutation of A000469.

Crossrefs

Programs

  • PARI
    See Links section.

A338833 Lexicographically earliest infinite sequence of distinct positive numbers with the property that a(n) is the smallest number m not yet in the sequence such that the binary expansions of m and a(n-1) have a 1 in the same position, but the positions of the 1's in the binary expansions of m and a(n-2) are disjoint.

Original entry on oeis.org

1, 3, 6, 12, 9, 17, 18, 10, 13, 20, 48, 33, 5, 14, 24, 49, 7, 66, 72, 25, 19, 34, 36, 21, 11, 40, 52, 22, 67, 41, 28, 68, 65, 27, 30, 100, 97, 129, 130, 26, 29, 37, 96, 74, 15, 53, 80, 192, 131, 23, 44, 104, 81, 133, 38, 42, 73, 69, 54, 56, 136, 132, 39, 43
Offset: 1

Views

Author

Nathan Nichols, Nov 11 2020

Keywords

Comments

This is an analog of the Enots Wolley sequence A336957 based on binary representations rather than prime factorizations.
Let Ker(k), the kernel of k, denote the set of positions of 1's in the binary expansion of k. Thus Ker(15) = {0,1,2,3}, Ker(1) = {0}.
Theorem 1: For n > 2, a(n) is the smallest number m not yet in the sequence such that:
(i) Ker(m) intersect Ker(a(n-1)) is nonempty,
(ii) Ker(m) intersect Ker(a(n-2)) is empty, and
(iii) the set Ker(m) \ Ker(a(n-1)) is nonempty.
Say that a number k is a "candidate" for a(n) if properties (i), (ii) and (iii) hold, but k is not necessarily unused nor the lowest available number with those properties.
Define the "characteristic function" of a positive integer k by char_k(i) = 1 if Ker(a(i)) has a nonempty intersection with Ker(k), char_k(i) = 0 otherwise.
A property that this sequence shares with the Enots Wolley sequence is that when a new bit appears in the binary representation of a term for the first time, it must be as part of a number of the form 2^x + 2^y where 2^x < 2^y. In this situation, we say that 2^x is "introduced" by 2^y.
Theorem 2. If there are at least k distinct terms such that k is a candidate for a(i), k appears in the sequence.
Proof. If k is a candidate for a(i) but a(i) != k, either k has already appeared in the sequence and we have nothing to prove or there is some k' < k which is also a candidate. Since there are only k-1 positive integers less than k, this situation can occur at most k-1 times before k must be the lowest available candidate. QED.
Theorem 3. Every number with a binary weight of at least 2 appears in the sequence.
A proof is presented in the paper "The Binary Enots Wolley Sequence" by Nathan Nichols (see link).

Examples

			a(1)=1 is the smallest possible value and does not lead to a contradiction.
a(2)=3=11_2 is the smallest value that satisfies the conditions. It does not lead to a contradiction.
a(3)=2=10_2 is the smallest value that satisfies the conditions, but then there is no choice for a(4). a(3)=6=110_2 is the next possibility, and does not lead to a contradiction.
a(4)=100_2 is the smallest value that satisfies the conditions, but then there is no choice for a(5). But a(4)=12=1100_2 works, and does not lead to a contradiction. (Examples added by _N. J. A. Sloane_, Mar 25 2022)
		

Crossrefs

The Enots Wolley sequence: A336957.
See also A000120 (binary weight), A252867.

Programs

  • Maple
    See Sloane link.

Extensions

Edited, including a more precise definition. - N. J. A. Sloane, Mar 25 2022; corrected Apr 05 2022

A348086 Variation of the EKG sequence A064413: a(n) is the smallest number not already used which shares a factor with a(n-1) and has a different number of divisors than a(n-1).

Original entry on oeis.org

1, 2, 4, 6, 3, 9, 12, 8, 16, 10, 5, 15, 18, 14, 7, 21, 24, 20, 22, 11, 33, 30, 25, 35, 28, 26, 13, 39, 36, 27, 42, 32, 34, 17, 51, 45, 40, 38, 19, 57, 48, 44, 46, 23, 69, 54, 50, 55, 60, 52, 56, 49, 63, 66, 58, 29, 87, 72, 62, 31, 93, 75, 65, 70, 64, 68, 74, 37, 111, 78, 76, 80, 82, 41, 123, 81
Offset: 1

Views

Author

Scott R. Shannon, Sep 28 2021

Keywords

Comments

This sequence uses the same rules as A064413 except with the additional restriction that a(n) must have a different number of divisors than a(n-1). Despite this additional restriction the overall behavior of the sequence is almost identical to A064413, with most values appearing only a few places away from their position in A064413.
The fixed points below 10000 are 1, 2, 8, 10, 14, 26, 32, 38, 259. It is likely no more exist.

Examples

			a(9) = 16 as a(8) = 8 which shares a factor with 16, 16 is unused, and tau(8) = 4 does not equal tau(16) = 5. This is the first term that differs from A064413, the later having a(9) = 10, but tau(10) = 4 = tau(8) so is forbidden here.
		

Crossrefs

Programs

  • Mathematica
    a[1]=1;a[2]=2;a[n_]:=a[n]=(k=1;While[GCD[k,a[n-1]]==1||SameQ@@DivisorSigma[0,{k,a[n-1]}]||MemberQ[Array[a,n-1],k],k++];k);Array[a,76] (* Giorgos Kalogeropoulos, Oct 08 2021 *)

A349472 a(1)=1; for n > 1, a(n) is the smallest unused positive number such that gcd(a(n-1)+n,a(n)) > 1.

Original entry on oeis.org

1, 3, 2, 4, 6, 8, 5, 13, 10, 12, 23, 7, 14, 16, 31, 47, 18, 9, 20, 15, 21, 43, 11, 25, 22, 24, 17, 27, 26, 28, 59, 35, 30, 32, 67, 103, 34, 33, 36, 19, 38, 40, 83, 127, 42, 44, 39, 29, 45, 50, 101, 48, 202, 46, 303, 359, 52, 54, 113, 173, 51, 226, 68, 55, 56, 58, 60, 62, 131, 57, 64, 66
Offset: 1

Views

Author

Scott R. Shannon, Nov 19 2021

Keywords

Comments

After 200000 terms the smallest unused number is 28349, although like similar sequences this is almost certainly a permutation of the positive integers. In the same range the fixed points are 4, 21, 50, 1269; it is likely no more exist. See the linked image.

Examples

			a(2) = 3 as a(1) + 2 = 3, 3 has not previously appeared, and gcd(3,3) > 1.
a(3) = 2 as a(2) + 3 = 6, 2 has not previously appeared, and gcd(6,2) > 1.
a(12) = 7 as a(11) + 12 = 35, 7 has not previously appeared, and gcd(35,7) > 1.
		

Crossrefs

Programs

A357963 a(1)=1, a(2)=2. Thereafter, if there are prime divisors p of a(n-1) which do not divide a(n-2), a(n) is the least novel multiple of any such p. Otherwise a(n) is the least novel multiple of the squarefree kernel of a(n-1). See comments.

Original entry on oeis.org

1, 2, 4, 6, 3, 9, 12, 8, 10, 5, 15, 18, 14, 7, 21, 24, 16, 20, 25, 30, 22, 11, 33, 27, 36, 26, 13, 39, 42, 28, 56, 70, 35, 105, 45, 60, 32, 34, 17, 51, 48, 38, 19, 57, 54, 40, 50, 80, 90, 63, 49, 77, 44, 46, 23, 69, 66, 52, 65, 55, 88, 58, 29, 87, 72, 62, 31, 93
Offset: 1

Views

Author

David James Sycamore, Oct 22 2022

Keywords

Comments

In other words, if a(n-1) has k prime divisors p_j, 1 <= j <= k which do not divide a(n-2), where 1 <= k <= omega(a(n-1)), and if m_j*p_j is the least multiple of p_j which is not already a term, then a(n) = Min{m_j*p_j; 1<=j<=k}. Otherwise every prime divisor of a(n-1) also divides a(n-2), in which case a(n) is the least multiple of the squarefree kernel of a(n-1) which is not already a term. If a(n-1) and a(n-2) are coprime the computation of a(n) ranges over all prime divisors of a(n-1). This happens only once (n=3), after which all adjacent terms share a common divisor (as in the EKG sequence, A064413).
Departs from A064413 and A352187 at a(19), a(31) respectively, and apparently shares the way odd primes are proven to appear in the former and conjectured to appear in the latter; namely as 2*p, p, 3*p.
Conjectures: Permutation of the positive integers with primes in natural order, appearing in same way as in EKG.
From Michael De Vlieger, Oct 22 2022 (Start)
An algorithm similar to the Rains algorithm for the EKG sequence efficiently generates the sequence.
Like the EKG sequence, this sequence forces primes into divisibility; Primes divide their predecessors and successors. Consequently they exhibit Lagarias-Rains-Sloane chain 2p -> p -> 3p outside of p = 2, just as in the EKG sequence.
Let us define several quasi-rays conspicuous in the scatterplot. From lowest to highest apparent slope, we have the following:
- beta: local minima, i.e., a(1)=1 and primes p in order.
- gamma: 2p, 4p, and certain other composites.
- alpha-k: k*p from large k to k = 3. This system appears as a series of fine quasi-rays, with 3p generally comprising records.
Records are 3p outside of {1, 2, 4, 12, 18, 24, 25, 30, 36, 42, 56, 70, 105}.
a(33) = 35 behaves like a prime; 70 precedes and 105 follows it. a(34) = 105 is conspicuous as it appears earlier than expected. (End)

Examples

			a(1)=1, a(2)=2 and 2 divides 2 but does not divide 1. Since 2 is the only prime divisor of 2, a(3) = 4, the least unused multiple of 2.
Since every prime divisor of a(3)=4 also divides a(2)=2, a(4) = 6, the least novel multiple of the squarefree kernel of 4.
a(19), a(20)=25, 30, and 30 has two prime divisors (2,3) which do not divide 25. The least multiples of 2, 3 not seen already are 22, 27 respectively, so a(21)=22.
a(29), a(30)=42, 28 and every prime dividing 28 (2,7) also divides 42, so a(31) is 56, the least novel multiple of 14 (squarefree kernel of 28).
		

Crossrefs

Programs

  • Mathematica
    Block[{a, c, f, g, k, m, q, nn}, nn = 68; c[] = False; q[] = 1; Array[Set[{a[#], c[#]}, {#, True}] &, 2]; q[2] = 2; Do[m = FactorInteger[a[n - 1]][[All, 1]]; f = Select[m, CoprimeQ[#, a[n - 2]] &]; If[Length[f] == 0, While[Set[k, # q[#]]; c[k], q[#]++] &[Times @@ m], Set[{k, q[#1]}, {#2, #2/#1}] & @@ First@ MinimalBy[Map[{#, Set[g, q[#]]; While[c[g #], g++]; # g} &, f], Last] ]; Set[{a[n], c[k]}, {k, True}], {n, 3, nn}]; Array[a, nn] ] (* Michael De Vlieger, Oct 22 2022 *)

Extensions

More terms from Michael De Vlieger, Oct 22 2022

A340783 a(n) = n if n <= 3; for n>3, a(n) = the closest number to a(n-1) that has not occurred earlier and has at least one common factor with a(n-2), but none with a(n-1). In case of a tie, choose the smaller.

Original entry on oeis.org

1, 2, 3, 4, 9, 8, 15, 14, 5, 6, 25, 24, 35, 34, 45, 44, 39, 38, 33, 32, 27, 26, 21, 20, 7, 10, 49, 48, 77, 76, 63, 62, 57, 56, 51, 50, 69, 68, 75, 74, 81, 80, 87, 86, 93, 92, 99, 98, 111, 110, 117, 116, 123, 122, 129, 128, 135, 134, 141, 140, 153, 152, 147, 146, 133, 132, 119, 118, 105, 104, 95
Offset: 1

Views

Author

Scott R. Shannon, Jan 21 2021

Keywords

Comments

The sequence uses a similar selection rule to the Yellowstone permutation A098550 but instead of choosing the smallest number that has not occurred earlier that has a common factor with a(n-2) and no common factor with a(n-1), the number closest to a(n-1) that satisfies these rules is selected for a(n). If two such numbers are the same distance from a(n-1) then the smaller is chosen.
As any number n is coprime to n-1 there are many such pairs of values differing by one in the sequence. If a(n-1) is even and a(n) is odd then the only time a(n+1) will not be a(n)-1 is if a(n)-1 has already appeared in the sequence.
The majority of terms are clustered along a line with gradient approximately 1.25 . However the line is broken into smaller regions, each region having a slightly higher gradient, by the terms dropping to much smaller values before returning to the main line. See the linked image.
Excluding the first five terms, in the first 5 million terms the maximum number of consecutive terms that increase is only two. This only occurs at five places, when n=9,25,79,13705,275345. In the same range there are many regions of consecutive decreasing terms, the longest being 5997 terms starting from n=1902153.
In the first 5 million terms the only fixed points, other than the first three terms, are 4 and 313362. As the terms for larger n seem to drop below the a(n)=n line on numerous occasions it is possible more exist, although this is unknown. The smallest number not appearing is 31. It is unknown is all values eventually appear. In the same range the largest change in consecutive terms is from a(3503960)=30982 to a(3503961)=3191249, a difference of 3160267.

Examples

			a(5) = 9 as a(5-2) = a(3) = 3 so a(5) must have 3 as a factor, but cannot be 6 as it cannot have common factor with a(5-1) = a(4) = 2.
a(12) = 24 as a(12-2) = a(10) = 6 so a(12) must have 2 or 3 as a factor, but cannot have a factor with a(12-1) = a(11) = 25. The closest numbers to a(12-1) = a(11) = 25 which have not occurred and satisfy these criteria are 24 and 26, but 24 is chosen as it is the smaller of the two. This is the first term differing from A098550 as the later chooses the smallest number satisfying the criteria that has not occurred, namely 12.
		

Crossrefs

A350359 Lexicographically earliest infinite sequence of distinct positive integers such that for any four consecutive terms a,b,c,d, d is prime to a and c, but not to b.

Original entry on oeis.org

1, 2, 3, 4, 9, 8, 15, 14, 5, 7, 25, 21, 10, 27, 16, 33, 20, 11, 26, 77, 6, 35, 12, 49, 18, 91, 22, 13, 24, 65, 28, 55, 32, 45, 34, 39, 17, 57, 68, 19, 40, 133, 30, 119, 36, 161, 38, 23, 44, 69, 50, 51, 52, 63, 46, 75, 58, 81, 29, 93, 116, 31, 56, 155, 42, 85, 48, 95, 54, 115, 62
Offset: 1

Views

Author

David James Sycamore, Dec 26 2021

Keywords

Comments

The sequence preserves throughout the coprime relations found in the first four positive integers 1,2,3,4 (4 is prime to 1 and 3 but not to 2).
A prime term p at a(n) is necessarily preceded at a(n-2) by a multiple m*p of p, and followed at a(n+2) by a different multiple w*p of p (m,w > 1).
The sequence is infinite. Proof: For successive terms a,b,c,d we can choose a multiple e = q*c of c, where q is any prime which divides neither b nor d and such that e is not a prior term. Then e is prime to b and d but not to c, and since it has not been seen before we have at least one candidate for the term following d, which we choose as the least such number.
The definition implies that there can be no consecutive even terms (since then they would not be coprime). However, consecutive odd terms are not excluded, and do occur (eg 21 can follow 25 because they are coprime). Although two adjacent primes is possible, and does occur (a(9)=5, a(10)=7), three is not, since consecutive distinct primes p,q,r would imply gcd(p,r)>1.
Similar sequences with the same coprime relations as in 1,2,3,4 can be generated from any start terms a,b,c,d with b=a+1,c=b+1,d=c+1, provided a is congruent to 1 or 5 mod 6 (A007310).
Conjecture: The sequence is a permutation of the positive integers in which the primes appear in their natural order.

Examples

			From the definition a(k)=k for 1 <= k <= 4. a(5) = 9 since 9 is prime to 2 and 4 but not to 3, and is the smallest number with this property. Likewise a(6) = 8 since 8 is prime to 3 and 9 but not to 4.
		

Crossrefs

Programs

  • Maple
    N := 1000:
    a[1] := 1; a[2] := 2; a[3] := 3; a[4] := 4:
    R := {$5 .. N)};
    for n from 5 while R <> {} do
       success := false;
       for r in R do
         if igcd(r, a[n-1]) = 1 and igcd(r, a[n-3]) = 1 and igcd(r, a[n-2]) > 1 then
         a[n] := r;
         R := R minus {r};
         success := true;
         break
       fi
      od:
      if not success then break fi;
      od:
    seq(a[i], i = 1 .. n-1)
  • Mathematica
    Nest[Block[{s = #, a, b, c, k = 4}, Set[{a, b, c}, #[[-3 ;; -1]]]; While[Nand[FreeQ[s, k], GCD[a, k] == 1, GCD[b, k] > 1, GCD[c, k] == 1], k++]; Append[s, k]] &, Range[3], 68] (* Michael De Vlieger, Dec 26 2021 *)
  • PARI
    { s=0; for (n=1, #a=vector(71), if (n<=3, a[n]=n, for (v=0, oo, if (!bittest(s,v) && gcd(v,a[n-2])>1 && gcd(v,lcm(a[n-3],a[n-1]))==1, a[n]=v; break))); s+=2^a[n]; print1(a[n]", ")) } \\ Rémy Sigrist, Mar 27 2022

A351625 a(1) = 1, a(2) = 2; for n > 2, a(n) is the smallest positive number that has not appeared that shares a factor with the largest previous term.

Original entry on oeis.org

1, 2, 4, 6, 3, 8, 10, 5, 12, 9, 14, 7, 16, 18, 15, 20, 22, 11, 24, 21, 26, 13, 28, 30, 25, 27, 32, 34, 17, 36, 33, 38, 19, 40, 35, 42, 39, 44, 46, 23, 48, 45, 50, 52, 54, 51, 56, 49, 58, 29, 60, 55, 57, 62, 31, 64, 66, 63, 68, 70, 65, 72, 69, 74, 37, 76, 78, 75, 80, 82, 41, 84, 77, 81, 86, 43, 88
Offset: 1

Views

Author

Scott R. Shannon, May 04 2022

Keywords

Comments

The sequence differs from A352976 after twenty-six terms. See the examples below.
In the first 100000 terms the maximum run of even and odd terms is three and five respectively; it is unknown if these runs have a maximum number of terms or are unbounded. The fixed points beyond 2 are 15, 25, 35, and it is likely no more exist. The primes appear in their natural order, and it is conjectured that this is a permutation of the positive integers.
From Michael De Vlieger, May 08 2022: (Start)
Let u be the smallest missing number in a(1..n-1) and let record r = max(a(1..n-1)).
Theorem: For odd prime q, r = mq -> q. Proof: generally, q may either divide or be coprime to r, but since equality and coprimality are prohibited by definition, primes may only divide records. This implies q serves as local minima, hence u > 2 is always an odd prime and r > 1 is always even.
Since r is always even, r is nondecreasing and even numbers appear in natural order. Also, r = 2q -> q, similar to the Lagarias-Rains-Sloane chain in the EKG sequence but without the successor 3q.
Theorem: a(n) = k such that k is odd iff least prime factor q | k and q | r. Proof: sequence definition demands smallest missing number such that (r,k) > 1. Otherwise, a(n) = a(n-1) + 2, since (a(n-1), a(n-1) + 2) > 1, and all smaller even numbers have already appeared.
All even numbers and primes appear, and every odd composite k has a least prime factor that admits k into the sequence on the occasion of (r,k) > 1.
There are 3 trajectories in scatterplot for a(n) > 1. The trajectory with lowest apparent slope is that of the primes, i.e., local minima. The trajectory with highest slope is that of records, i.e., even numbers, and the remaining numbers are odd composites. (End)

Examples

			a(6) = 8 as the largest value of all previous terms is a(4) = 6, and 8 is the smallest unused number that shares a factor with 6.
a(27) = 32 as the largest value of all previous terms is a(24) = 30, and 32 is the smallest unused number that shares a factor with 30. Note that A352976(27) = 33 as it must share a factor with max(25,27) = 27.
		

Crossrefs

Programs

A352943 a(1) = 1, a(2) = 2; for n > 2, a(n) is the smallest positive number that has not appeared that shares a factor with the sum of the largest and second largest value of all previous terms.

Original entry on oeis.org

1, 2, 3, 5, 4, 6, 11, 17, 7, 8, 10, 12, 29, 14, 16, 18, 47, 19, 20, 22, 24, 26, 28, 30, 21, 33, 15, 25, 32, 34, 9, 27, 36, 83, 13, 35, 38, 39, 40, 42, 44, 45, 46, 48, 131, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 43, 55, 65, 75, 85, 51, 57, 63, 69, 81, 86, 31
Offset: 1

Views

Author

Scott R. Shannon, May 06 2022

Keywords

Comments

The sequence contains long runs on even terms, differing by 2, and odd terms, differing by various small even numbers. These runs are often interrupted by a large prime that becomes the new largest term. As this and the previous largest term are typically much larger than any other value the sequence then begins a long series of steadily increasing values that share a factor with the sum of these two largest terms.
The sequence is conjectured to be a permutation of the positive integers, although it apparently takes many terms for some primes to appear, e.g., after 200000 terms 73 has not occurred. The primes do not occur in their natural order. Beyond the first three terms there are nine fixed points in the first 200000 terms, although it is likely more exist.

Examples

			a(4) = 5 as the sum of the largest and second-largest value of all previous terms is a(3) + a(2) = 3 + 2 = 5, and 5 is the smallest unused number that shares a factor with 5.
a(10) = 8 as the sum of the largest and second-largest value of all previous terms is a(8) + a(7) = 17 + 11 = 28, and 8 is the smallest unused number that shares a factor with 28.
		

Crossrefs

Programs

Previous Showing 41-50 of 127 results. Next