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!)
A081523 Sum of terms in row n of A081521. 3

%I #6 May 24 2020 04:00:35

%S 1,4,12,16,20,54,35,64,72,130,77

%N Sum of terms in row n of A081521.

%o (PARI) a(n) = {my(m=n*(n-1)/2, v); forstep(k=m+n/(2-n%2), oo, n, v=List([]); for(i=2, k-m, if(gcd(n, i)==1, listput(v, i))); if(#v>n-2, forsubset([#v, n-1], w, if(r=1+sum(i=1, n-1, v[w[i]])==k, return(k))))); } \\ _Jinyuan Wang_, May 23 2020

%Y Cf. A081521, A081522, A081524.

%K nonn,more

%O 1,2

%A _Amarnath Murthy_, Mar 27 2003

%E a(8)-a(11) from _Jinyuan Wang_, May 23 2020

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 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)