login
A228990
Smallest missing number in first 10^n digits after the decimal point in expansion of golden ratio phi = (1+sqrt(5))/2.
2
2, 10, 100, 1001, 10002, 49107, 119904, 1015528
OFFSET
1,1
EXAMPLE
a(1) = 2 because number 2 is missing in first 10^1 = 10 digits after decimal point in the decimal expansion of the golden ratio, that is, 1.6180339887.
MATHEMATICA
Do[With[{r = ToString[FromDigits[Rest[RealDigits[GoldenRatio, 10, 10^k][[1]]]]]}, Do[If[StringPosition[r, ToString[n]] == {}, Print[n]; k = k + 1; Break[]], {n, 0, 10000000}]], {k, 1, 7}]
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Shyam Sunder Gupta, Sep 10 2013
EXTENSIONS
Name improved by Alex Ratushnyak, Sep 22 2013
a(8) from Jinyuan Wang, Mar 27 2020
STATUS
approved