Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A111150
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A111150 a(n) is the number of integers of the form (n+k)/|(n-k)| for k>0. +0
3
2, 4, 6, 6, 6, 10, 6, 8, 10, 10, 6, 14, 6, 10, 14, 10, 6, 16, 6, 14, 14, 10, 6, 18, 10, 10, 14, 14, 6, 22, 6, 12, 14, 10, 14, 22, 6, 10, 14, 18, 6, 22, 6, 14, 22, 10, 6, 22, 10, 16, 14, 14, 6, 22, 14, 18, 14, 10, 6, 30, 6, 10, 22, 14, 14, 22, 6, 14, 14, 22, 6, 28, 6, 10, 22, 14, 14, 22 (list; graph; listen)
OFFSET

1,1

COMMENT

a(n)<=2^(n-1) & a(p)=6 for odd primes. - Robert G. Wilson v.

EXAMPLE

For n=7 we have integer value for the form when k={5; 6; 8; 9; 14; 21} and (7+k)/|(7-k)| = {6, 13, 15, 8, 3, 2}. Thus a(7) = 6.

MATHEMATICA

f[n_] := Length[ Select[(n + #)/Abs[n - # ] & /@ Delete[ Range[ Floor[5n/3]], n], IntegerQ[ # ] &]] + 2; Array[f, 78] (* Robert G. Wilson v *)

CROSSREFS

Sequence in context: A092337 A050823 A050825 this_sequence A166983 A078611 A131450

Adjacent sequences: A111147 A111148 A111149 this_sequence A111151 A111152 A111153

KEYWORD

easy,nonn

AUTHOR

Paolo P. Lava (ppl(AT)spl.at) & Giorgio Balzarotti (greenblue(AT)tiscali.it), Oct 19 2005

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(at)rgwv.com), Oct 19 2005

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 3 22:15 EST 2009. Contains 170310 sequences.


AT&T Labs Research