Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A113778
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A113778 Invert blocks of four in the sequence of natural numbers. +0
1
4, 3, 2, 1, 8, 7, 6, 5, 12, 11, 10, 9, 16, 15, 14, 13, 20, 19, 18, 17, 24, 23, 22, 21, 28, 27, 26, 25, 32, 31, 30, 29, 36, 35, 34, 33, 40, 39, 38, 37 (list; graph; listen)
OFFSET

1,1

FORMULA

a(n)=k*floor((n+k-1)/k)-(n-1) mod k; k=4, n=1, 2, ...

MATHEMATICA

With[{k=4}, Table[k Floor[(n+k-1)/k]-Mod[n-1, k], {n, 1, 10k}]]

CROSSREFS

Cf. A113655.

Sequence in context: A085064 A030587 A051623 this_sequence A129154 A055115 A108438

Adjacent sequences: A113775 A113776 A113777 this_sequence A113779 A113780 A113781

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Jan 20 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 November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research