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

 


A139788
Period 5: repeat [1, 7, 3, 9, 5].
1
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, 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, 9, 5, 1, 7, 3, 9, 5, 1, 7, 3, 9, 5
OFFSET
0,2
FORMULA
a(n) = (1-4n) mod 10. - Wesley Ivan Hurt, Dec 03 2022
MATHEMATICA
PadRight[{}, 100, {1, 7, 3, 9, 5}] (* Harvey P. Dale, Aug 14 2023 *)
PROG
(PARI) a(n)=[1, 7, 3, 9, 5][n%5+1] \\ Charles R Greathouse IV, Jun 02 2011
CROSSREFS
Sequence in context: A361604 A003957 A021579 * A093525 A139340 A195725
KEYWORD
nonn,easy,less
AUTHOR
Paul Curtz, May 21 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 22 08:59 EDT 2024. Contains 376097 sequences. (Running on oeis4.)