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.

A374950 Sequence starting with 2, where the next term is the lowest new integer which is greater than 1 and coprime with the sum of all previous terms.

This page as a plain text file.
%I A374950 #13 Aug 02 2024 19:15:01
%S A374950 2,3,4,5,9,6,7,11,8,12,10,13,17,14,15,19,16,20,18,21,27,22,23,25,26,
%T A374950 24,28,29,33,30,31,35,32,36,34,37,41,38,39,43,40,44,42,45,49,46,47,53,
%U A374950 48,50,51,55,52,56,54,57,61,58,59,67,60,62,64,63,65,68,66
%N A374950 Sequence starting with 2, where the next term is the lowest new integer which is greater than 1 and coprime with the sum of all previous terms.
%t A374950 a={2}; s=2;For[n=2, n<=67, n++,k=2; While[GCD[k,s]!=1||MemberQ[a,k], k++]; s+=k; AppendTo[a,k]]; a (* _Stefano Spezia_, Jul 25 2024 *)
%Y A374950 Cf. A084385 (starting with 1).
%K A374950 nonn
%O A374950 1,1
%A A374950 _Declan Boushy_, Jul 24 2024
%E A374950 More terms from _Pontus von Brömssen_, Jul 25 2024