Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A082900
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A082900 a(n) = A082894(n)-A000079(n), that is difference of 2^n and the number closest to it and divisible by n. +0
7
0, 0, 1, 0, -2, 2, -2, 0, 1, -4, -2, -4, -2, -4, 7, 0, -2, 8, -2, 4, -8, -4, -2, 8, -7, -4, 1, 12, -2, -4, -2, 0, -8, -4, 17, 8, -2, -4, -8, -16, -2, 20, -2, -16, -17, -4, -2, -16, 19, -24, -8, -16, -2, 26, 12, 24, -8, -4, -2, -16, -2, -4, -8, 0, -32, 2, -2, -16, -8, 26, -2, 8, -2, -4, 7, -16, -18, 14, -2, -16, 1, -4, -2, 20, -32, -4, -8 (list; graph; listen)
OFFSET

1,5

COMMENT

n=5:2^5=32 and number divisible by n=5 and closest to 32 is 30 = A082894(5), a(5)=30-32=-2 is the corresponding difference.

FORMULA

a(n)=n*floor[(floor(n/2)+2^n)/n]-2^n

MATHEMATICA

Table[n*Floor[(Floor[n/2]+2^n)/n]-2^n, {n, 1, 100}]

CROSSREFS

Cf. A082893-A082901.

Sequence in context: A071471 A020943 A056557 this_sequence A133625 A028930 A112792

Adjacent sequences: A082897 A082898 A082899 this_sequence A082901 A082902 A082903

KEYWORD

sign

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Apr 22 2003

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 December 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research