A152007 a(n) = (2^phi(3^n)-1)/3^n.
1, 1, 7, 9709, 222399981598543, 24057640120673299065081231814259802792690247621
Offset: 0
Keywords
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..7
- W. Lang, On Collatz' Words, Sequences and Trees, arXiv preprint arXiv:1404.2710 [math.NT], 2014 and J. Int. Seq. 17 (2014) # 14.11.7.
Programs
-
Magma
[(2^EulerPhi(3^n)-1)/3^n: n in [0..6]]; // Vincenzo Librandi, Feb 23 2014
-
Mathematica
Table[(2^EulerPhi[3^n] - 1)/3^n, {n, 0, 10}]
-
PARI
a(n)=(2^eulerphi(3^n)-1)/3^n \\ Charles R Greathouse IV, Nov 29 2016
Formula
a(n) = (4^(3^(n-1)) - 1)/3^n for n>=1, a(0) = 1, with EulerPhi(1) = 1 = A000010(1). - Wolfdieter Lang, Feb 21 2014
Extensions
Edited by N. J. A. Sloane, Nov 28 2008
Offset corrected from Wolfdieter Lang, Feb 21 2014
Definition clarified by Joerg Arndt, Feb 23 2014
Comments