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!)
A010705 Period 2: repeat (3,7). 9
3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Continued fraction expansion of (21 + 5*sqrt(21))/14 (decimal expansion is given by A176106). - R. J. Mathar, Mar 08 2012
If an initial 2 is prepended to this sequence, it is Sylvester's sequence (A000058) modulo 10. - Alonso del Arte, Mar 25 2015
Also, smallest prime factor of 8^n-1 for n >= 1. - Sean A. Irvine, Oct 15 2023
LINKS
FORMULA
G.f.: (3+7x)/((1-x)(1+x)). - R. J. Mathar, Nov 21 2011
MATHEMATICA
Table[Mod[30n - 15 + 2(-1)^n, 10], {n, 100}] (* Alonso del Arte, Mar 25 2015 *)
PadRight[{}, 120, {3, 7}] (* Harvey P. Dale, Jan 14 2019 *)
PROG
(PARI) a(n)=3+n%2*4 \\ Charles R Greathouse IV, Dec 21 2011
(Python)
def A010705(n): return 3|((n&1)<<2) # Chai Wah Wu, Aug 12 2023
CROSSREFS
Sequence in context: A329341 A244191 A161973 * A244189 A200481 A016665
KEYWORD
nonn,easy
AUTHOR
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 24 10:11 EDT 2024. Contains 371935 sequences. (Running on oeis4.)