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!)
A139788 Period 5: repeat [1, 7, 3, 9, 5]. 1

%I #26 Feb 27 2024 03:05:20

%S 1,7,3,9,5,1,7,3,9,5,1,7,3,9,5,1,7,3,9,5,1,7,3,9,5,1,7,3,9,5,1,7,3,9,

%T 5,1,7,3,9,5,1,7,3,9,5,1,7,3,9,5,1,7,3,9,5,1,7,3,9,5,1,7,3,9,5,1,7,3,

%U 9,5,1,7,3,9,5,1,7,3,9,5

%N Period 5: repeat [1, 7, 3, 9, 5].

%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,1).

%F a(n) = (1-4n) mod 10. - _Wesley Ivan Hurt_, Dec 03 2022

%t PadRight[{},100,{1,7,3,9,5}] (* _Harvey P. Dale_, Aug 14 2023 *)

%o (PARI) a(n)=[1,7,3,9,5][n%5+1] \\ _Charles R Greathouse IV_, Jun 02 2011

%K nonn,easy,less

%O 0,2

%A _Paul Curtz_, May 21 2008

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 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)