OFFSET
0,3
LINKS
EXAMPLE
1, 100, 2200, 110000, 3000000, 82000000, 2374000000, 65500000000, 1550000000000, ...
Taking the first digit (actually: a place holder value) of each gives the terms a(0) .. a(8) of this sequence: 1, 1, 2, 1, 3, 8, 2, 6, 1, ...
MATHEMATICA
a[n_] := Module[{k = (2*n+1)!/n!, m = 2, r, d=0}, While[{k, r} = QuotientRemainder[k, m]; k != 0 || r != 0, If[r > 0, d = r]; m++]; d]; Array[a, 100, 0] (* Amiram Eldar, Feb 14 2024 *)
PROG
CROSSREFS
KEYWORD
AUTHOR
Antti Karttunen, Dec 20 2015
STATUS
approved