Question: Finding repeating patterns in strings / taking decimal point out tia sal22

Greetings All

I'm trying to find repeating numbers in the golden mean like 618, 619,645 etc..

I'm getting error message because of syntax and the decimal point how do I take the decimal point out so instead the string is 618 instead .618

How do I get rid of the decimal point in a string?

 

example

p:=evalf((1+sqrt(5))/2-1,20);

ns:=convert(p,string);

seq(Take(p,i),i=0..20)

SearchText(678,p)

tia sal22

Please Wait...