OFFSET
0,1
MATHEMATICA
With[{nn=90}, Differences[Union[Join[11*Range[0, nn], 19*Range[0, nn]]]]] (* Harvey P. Dale, Jan 30 2015 *)
PROG
(PARI) maxn=100; i11=0; i19=0; n=1; {until(n>maxn, a=min(i11*11, i19*19); if(n>1, print1(a-last ", "); ); last=a; n++; if(a/11==i11, i11++); if(a/19==i19, i19++); ); }
(Python)
def diff(lst):
return [lst[i+1]-lst[i] for i in range(len(lst)-1)]
def auptomult(N):
return diff(sorted(set([k*i for k in [11, 19] for i in range(N//k+1)])))
print(auptomult(630)) # Michael S. Branicky, Nov 08 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon Perry, Jul 22 2003
EXTENSIONS
Corrected and extended by Ray Chandler, Aug 10 2003
STATUS
approved