|
|
A337904
|
|
Numbers k such that the decimal expansion of the k-th harmonic number starts with the digits of k, in the same order.
|
|
1
|
|
|
1, 43, 714, 715, 9763, 122968, 122969, 1478366, 17239955, 196746419, 2209316467, 24499118645, 268950072605
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The sequence also includes 196746419, 2209316467, 24499118645, 268950072605, 2928264676792, 31663398162514, 340383084842938, 3640820101879826. - Daniel Suteu, Oct 01 2020
|
|
LINKS
|
|
|
EXAMPLE
|
1/1 + 1/2 + 1/3 + ... + 1/1478366 = 14.78366... .
|
|
MATHEMATICA
|
s=0; Do[s=s+(1/n); t=IntegerLength[n]; m=IntegerLength[Floor[s]]; k = Floor[s (10^(t-m))]; If[k==n, Print[n]], {n, 1, 10^11}]
|
|
PROG
|
(PARI) lista(nn) = {my(s=0.); for (n=1, nn, s += 1./n; my(d = digits(floor(10^20*s))); if (fromdigits(vector(#Str(n), j, d[j])) == n, print1(n, ", ")); ); } \\ Michel Marcus, Sep 30 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|