login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A145924 Last digit of A145923(n). 0
9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

The numbers also populate the 5th row of A107449.

Terms of the simple continued fraction of 1546/(sqrt(6507605)-2385). - Paolo P. Lava, Feb 17 2009

LINKS

Table of n, a(n) for n=0..84.

Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,1).

FORMULA

a(n) = A145923(n) mod 10.

Period length 5: a(n+5) = a(n).

a(n) = (1/10)*(-7*(n mod 5) + 9*((n+1) mod 5) + 5*((n+2) mod 5) + ((n+3) mod 5) + 17*((n+4) mod 5)), with n>=0. - Paolo P. Lava, Oct 28 2008

G.f.: (9+3x+5x^2+5x^3+3x^4)/((1-x)(1+x+x^2+x^3+x^4)). - R. J. Mathar, Dec 08 2008

MATHEMATICA

PadRight[{}, 100, {9, 3, 5, 5, 3}] (* Harvey P. Dale, Jul 05 2012 *)

PROG

(PARI) a(n)=[9, 3, 5, 5, 3][n%5+1]; \\ Jinyuan Wang, Mar 23 2020

CROSSREFS

Cf. A010879 (last digit), A145923.

Sequence in context: A154978 A011235 A011212 * A324995 A200007 A153618

Adjacent sequences:  A145921 A145922 A145923 * A145925 A145926 A145927

KEYWORD

nonn,base,less

AUTHOR

Paul Curtz, Oct 25 2008

EXTENSIONS

Edited by R. J. Mathar, Dec 08 2008

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 10 12:15 EDT 2020. Contains 336379 sequences. (Running on oeis4.)