OFFSET
0,1
COMMENTS
According to the Thue-Siegel-Roth theorem, this number is transcendental.
As a sequence, characteristic sequence for powers of 3. - Franklin T. Adams-Watters, Aug 07 2013
Actually, characteristic function for 3^k - 1 (A024023), with the current starting offset 0. - Antti Karttunen, Nov 19 2017
REFERENCES
Steven R. Finch, Mathematical Constants, Cambridge University Press, 2003, p. 171.
LINKS
FORMULA
From Antti Karttunen, Nov 19 2017: (Start)
a(n) = abs(A154271(1+n)). (End)
From Amiram Eldar, Nov 02 2023: (Start)
With offset 1:
Completely multiplicative with a(3^e) = 1, and a(p^e) = 0 for p != 3.
Dirichlet g.f.: 1/(1-3^(-s)). (End)
EXAMPLE
0.101000001000000000000000001000000000000000000000000000000000000000000000000000001...
MATHEMATICA
(* n = 4 is sufficient to get 100 digits *) Sum[1/10^(3^n), {n, 0, 4}] // RealDigits[#, 10, 100]& // First
PROG
(PARI) a(n) = if(n+1 == 3^valuation(n+1, 3), 1, 0); \\ Amiram Eldar, Nov 02 2023
CROSSREFS
KEYWORD
AUTHOR
Jean-François Alcover, Jul 29 2013
STATUS
approved