Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A028390
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A028390 Nearest integer to 3n/4 unless that is an integer, when 3n/2. +0
1
0, 1, 2, 2, 6, 4, 5, 5, 12, 7, 8, 8, 18, 10, 11, 11, 24, 13, 14, 14, 30, 16, 17, 17, 36, 19, 20, 20, 42, 22, 23, 23, 48, 25, 26, 26, 54, 28, 29, 29, 60, 31, 32, 32, 66, 34, 35, 35, 72, 37, 38, 38, 78, 40, 41, 41, 84, 43, 44, 44, 90, 46, 47, 47, 96, 49, 50, 50, 102, 52, 53, 53 (list; graph; listen)
OFFSET

0,3

FORMULA

G.f.: [x(1+2x+2x^2+6x^3+2x^4+x^5+x^6]/[(1-x)^2(1+x)^2(1+x^2)^2].

MAPLE

A028390 := proc(n) if 3*n mod 4 = 0 then 3*n/2 else round(3*n/4); fi; end;

PROGRAM

(PARI) a(n)=if(Mod(3*n, 4) == 0, (3*n/2), round(3*n/4)); vector(100, n, a(n))

CROSSREFS

Sequence in context: A009279 A059943 A112336 this_sequence A036500 A077080 A081111

Adjacent sequences: A028387 A028388 A028389 this_sequence A028391 A028392 A028393

KEYWORD

nonn

AUTHOR

J. H. Conway (conway(AT)math.princeton.edu)

EXTENSIONS

More terms from Jason Earls (zevi_35711(AT)yahoo.com), Jul 13 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 23 10:40 EST 2009. Contains 167421 sequences.


AT&T Labs Research