OFFSET
12,2
EXAMPLE
a(4)=12 because Golomb's a(4)=3, thus 4*3=12
a(10)=50 because Golomb's a(10)=5, thus 10*5=50
MAPLE
for n from 2 while B[n-1] <= N do
B[n]:= B[n-1] + A001462[n];
for j from B[n-1]+1 to B[n] do A001462[j]:= n end do
end do:
[seq(j*A001462[j], j=1..N)]; # Based on Robert Israel's program for A001462. - N. J. A. Sloane, Jan 03 2021
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Alexandre Wajnberg, Apr 02 2005
EXTENSIONS
More terms from N. J. A. Sloane, Jan 03 2021
STATUS
approved