login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157810 Example of periodic sequence arising from Problem S07 - 4 of Harvard College Mathematical Review. 3
2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Let V be the set of primes p for which {(3^n-1)/(2^n-1} such that n is a natural number} is contained in Z(p) contained in Q denote the localization of the integral domain Z at the prime ideal (p); that is, the subring of Q consisting of the rational numbers with denominators prime to p. (a) Characterize the set V. (b) subproblem about Wieferich primes A001220. (c) Show that, for every p and element of V, the map N -> F_p given by n -> phi_p ((3^n-1)/(2^n-1}) is periodic. For example, 5 is an element of V, and the corresponding map N > F_5 is 2, 1, 3, 2, 2, 1, 3, 2, 2, 1, 3, 2, ....

Continued fraction expansion of (7+sqrt(93))/6. [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Apr 30 2010]

LINKS

Vesselin Dimitrov, Problem S07 - 4 (Corrected). Harvard College Mathematical Review, Vol. 1, No. 2, Fall 2007.

Index to sequences with linear recurrences with constant coefficients, signature (0,0,0,1).

FORMULA

a(n)=(1/12)*{4*[(n-1) mod 4]+7*(n mod 4)-2*[(n+1) mod 4]+7*[(n+2) mod 4]}, with n>=1 [From Paolo P. Lava (paoloplava(AT)gmail.com), Mar 17 2009]

CROSSREFS

Cf. A001220.

Sequence in context: A090000 A109082 A126303 * A072339 A175548 A038571

Adjacent sequences:  A157807 A157808 A157809 * A157811 A157812 A157813

KEYWORD

nonn,easy

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Mar 07 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 23:53 EST 2012. Contains 205689 sequences.