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!)
A349777 Lexicographically first sequence of positive integers such that all disjoint equivalent sets of K terms have distinct sums for 1 <= K <= 4. 2

%I #59 Mar 20 2022 06:44:53

%S 1,2,3,5,8,14,25,45,85,162,310,595,1107,2052,3515,5925,9798,16169,

%T 23295,34303,53259,72215,112624,153552,198523,283570,370114,497383,

%U 700022,840817,1145415,1398434,1717972,2279969,2819186,3436864,4299205,5239007,6335442,7650495,9219214

%N Lexicographically first sequence of positive integers such that all disjoint equivalent sets of K terms have distinct sums for 1 <= K <= 4.

%H Gleb Ivanov, <a href="/A349777/a349777_1.py.txt">Python program</a>.

%t a={};k=1;Do[While[(t=1;While[t<=4&&DuplicateFreeQ[Total/@Subsets[Join[a,{k}],{t}]],t++];t)<=4,k++];AppendTo[a,k];Print@k,30] (* _Giorgos Kalogeropoulos_, Dec 02 2021 *)

%o (Python) See links.

%Y Cf. A011185 (k=1..2), A036241 (k=1..3).

%Y A005318 and A276661 are similar sequences.

%K nonn

%O 1,2

%A _Santanu Banerjee_, Nov 29 2021

%E a(13)-a(26) from _Alois P. Heinz_, Dec 01 2021

%E a(27)-a(41) from _Gleb Ivanov_, Dec 02 2021

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 September 8 20:40 EDT 2024. Contains 375759 sequences. (Running on oeis4.)