login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A075332 Differences of pairs in A075329. 4

%I

%S 2,6,8,10,13,17,20,23,26,30,32,34,36,40,42,46,48,52,53,55,59,62,64,68,

%T 70,73,76,80,81,85,87,91,93,97,98,102,107,108,111,113,115,119,121,125,

%U 128,131,133,136,138,141,144,147,149,153,156,161,162,165,168,170,174

%N Differences of pairs in A075329.

%p A075332 := proc(nmax) local r,s,n,stst,rtst,i ; r := [1] : s := [] : n := {1} : while nops(r) < nmax do stst := 1 ; while stst in n or stst-op(-1,r) in n or stst+op(-1,r) in n do stst := stst +1 ; od ; s := [op(s),stst] ; n := n union {stst, stst-op(-1,r), stst+op(-1,r)} ; rtst := 1 ; while rtst in n do rtst := rtst +1 ; od ; r := [op(r),rtst] ; n := n union {rtst} ; od : for i from 1 to nops(s) do s := subsop(i=op(i,s)-op(i,r),s) ; od ; RETURN(s) ; end: A075332(100) ; # _R. J. Mathar_, Feb 03 2007

%Y Cf. A075329, A075330, A075331.

%K nonn

%O 1,1

%A _Amarnath Murthy_, Sep 18 2002

%E More terms from _R. J. Mathar_, Feb 03 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 15 21:17 EDT 2019. Contains 328038 sequences. (Running on oeis4.)