Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A104275
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A104275 Numbers n such that 2n-1 is not prime. +0
3
1, 5, 8, 11, 13, 14, 17, 18, 20, 23, 25, 26, 28, 29, 32, 33, 35, 38, 39, 41, 43, 44, 46, 47, 48, 50, 53, 56, 58, 59, 60, 61, 62, 63, 65, 67, 68, 71, 72, 73, 74, 77, 78, 80, 81, 83, 85, 86, 88, 89, 92, 93, 94, 95, 98, 101, 102, 103, 104, 105, 107, 108, 109, 110, 111, 113 (list; graph; listen)
OFFSET

1,2

COMMENT

Same as A053726 except for the first term of this sequence; also a(n) = A047845(n-1) + 1

FORMULA

Let p=prime number, n=(p^2+1)/2 mod (p) [From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Jan 01 2009]

a(n)=sum_{x=1..nth odd nonprime}-(-1)^x*x [From Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Jul 14 2009]

EXAMPLE

a(1)=1 because 2*1-1=1, not prime.

a(2)=5 because 2*5-1=9, not prime (2, 3 and 4 give 3, 5 and 7 which are primes)

MATHEMATICA

Select[ Range[115], !PrimeQ[2# - 1] &] (from Robert G. Wilson v (rgwv(AT)rgwv.com), Apr 18 2005)

CROSSREFS

Cf. A005097, A047845, A006254, A053726.

Sequence in context: A057154 A072524 A047700 this_sequence A053726 A161537 A022798

Adjacent sequences: A104272 A104273 A104274 this_sequence A104276 A104277 A104278

KEYWORD

easy,nonn

AUTHOR

Alexandre Wajnberg (alexandre.wajnberg(AT)ulb.ac.be), Apr 17 2005

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Apr 18 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 November 25 14:49 EST 2009. Contains 167514 sequences.


AT&T Labs Research