login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A271226 a(n) = (A271222(n)^2 + 2)/3^n, n >= 0. 2
2, 2, 3, 1, 43, 201, 67, 1289, 2278, 14662, 53782, 171798, 57266, 312537, 104179, 7353209, 14081926, 94917254, 148495259, 338541478, 2498895558, 832965186, 277655062, 45869694854, 90480235883, 230874654662 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
a(n) is an integer because b(n) = A271222(n) satisfies b(n)^2 + 2 == 0 (mod 3^n), n >= 0.
See A268924 for details, links and references.
LINKS
FORMULA
a(n) = (b(n)^2 + 2)/3^n, n >= 0, with b(n) = A271222(n).
EXAMPLE
a(0) = (0^2 + 2)/1 = 2.
a(4) = (59^2 + 2)/3^4 = 43.
PROG
(PARI) b(n) = if (n, 3^n - truncate(sqrt(-2+O(3^(n)))), 0);
a(n) = (b(n)^2 + 2)/3^n; \\ Michel Marcus, Apr 09 2016
CROSSREFS
Cf. A268924, A271222, A271224, A271225 (companion sequence).
Sequence in context: A173160 A022461 A306821 * A292372 A098008 A234808
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Apr 05 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)