Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A123920
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A123920 Number of numbers congruent to 2 or 4 mod 6 between n and 2n inclusive. +0
1
1, 2, 1, 2, 2, 2, 3, 4, 3, 4, 4, 4, 5, 6, 5, 6, 6, 6, 7, 8, 7, 8, 8, 8, 9, 10, 9, 10, 10, 10, 11, 12, 11, 12, 12, 12, 13, 14, 13, 14, 14, 14, 15, 16, 15, 16, 16, 16, 17, 18, 17, 18, 18, 18, 19, 20, 19, 20, 20, 20, 21, 22, 21, 22, 22, 22, 23, 24, 23, 24, 24, 24, 25, 26, 25, 26, 26, 26 (list; graph; listen)
OFFSET

1,2

FORMULA

Odd a(n) = (2k - 1) for n = {6k - 5, 6k - 3), where k = 1,2,3,... Even a(n) = 2k for n = {6k - 4, 6k - 2, 6k - 1, 6k}, where k = 1,2,3,... - Alexander Adamchuk (alex(AT)kolmogorov.com), Nov 08 2006

MATHEMATICA

f[n_] := Floor[n/2] - Floor[n/6]; Table[f[2n] - f[n - 1], {n, 78}] (* Robert G. Wilson v *)

CROSSREFS

Cf. A123919.

Sequence in context: A030361 A060715 A108954 this_sequence A029170 A079526 A029203

Adjacent sequences: A123917 A123918 A123919 this_sequence A123921 A123922 A123923

KEYWORD

nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Oct 29 2006

EXTENSIONS

Corrected and extended by Robert G. Wilson v Oct 29 2006

More terms from Alexander Adamchuk (alex(AT)kolmogorov.com), Nov 08 2006

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 July 26 23:19 EDT 2008. Contains 142293 sequences.


AT&T Labs Research