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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047204 Numbers that are congruent to {3, 4} mod 5. 20
3, 4, 8, 9, 13, 14, 18, 19, 23, 24, 28, 29, 33, 34, 38, 39, 43, 44, 48, 49, 53, 54, 58, 59, 63, 64, 68, 69, 73, 74, 78, 79, 83, 84, 88, 89, 93, 94, 98, 99, 103, 104, 108, 109, 113, 114, 118, 119, 123, 124, 128, 129, 133, 134, 138, 139, 143, 144, 148, 149 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Also numbers that cannot be expressed as the sum of two 4th powers. - Cino Hilliard (hillcino368(AT)gmail.com), Nov 23 2003

LINKS

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

FORMULA

a(n)=5*n-a(n-1)-3 (with a(1)=3) [From Vincenzo Librandi, Nov 18 2010]

G.f. x*(3+x+x^2) / ( (1+x)*(x-1)^2 ). - R. J. Mathar, Oct 08 2011

MATHEMATICA

Select[Range[0, 200], MemberQ[{3, 4}, Mod[#, 5]] &] (* From Vladimir Joseph Stephan Orlovsky, Feb 12 2012 *)

PROG

(PARI) a(n)=(n-1)\2*5+4-n%2 \\ Charles R Greathouse IV, Dec 22 2011

CROSSREFS

Sequence in context: A135135 A058593 A191285 * A050035 A046974 A177986

Adjacent sequences:  A047201 A047202 A047203 * A047205 A047206 A047207

KEYWORD

nonn,easy,changed

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

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 17 03:45 EST 2012. Contains 205978 sequences.