Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152449
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152449 Primes of the form 2^j - 2^k + 1, where j > k >= 0. +0
1
2, 3, 5, 7, 13, 17, 29, 31, 61, 97, 113, 127, 193, 241, 257, 449, 509, 769, 1009, 1021, 2017, 4093, 7681, 7937, 8161, 8191, 12289, 15361, 16369, 16381, 32257, 61441, 64513, 65521, 65537, 114689, 130817, 131009, 131041, 131071, 520193, 523777 (list; graph; listen)
OFFSET

1,1

COMMENT

This sequence contains the primes that are each one more than any term of sequence A023758.

In binary these primes are represented, reading left to right, as some number of 1's, followed by some number of 0's (possibly no 0's), followed finally by one 1 as the rightmost digit.

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

MAPLE

isA000079 := proc(n) local i ; RETURN( add(i, i=convert(n, base, 2)) = 1 ) ; end : isA000225 := proc(n) isA000079(n+1) ; end: A007814 := proc(n) local p2, a, p ; a := 0 ; p2 := ifactors(n)[2] ; for p in p2 do if op(1, p) = 2 then a := op(2, p) ; fi; od; RETURN(a) ; end: isA023758 := proc(n) local ord ; ord := A007814(n) ; RETURN ( isA000225(n/2^ord) ) ; end: isA152449 := proc(n) local ord, np1 ; if isprime(n) then RETURN ( isA023758(n-1) ) ; else false; fi; end: for i from 1 to 100000 do p := ithprime(i) ; if isA152449(p) then printf("%d, ", p) ; fi; od: [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Dec 05 2008]

CROSSREFS

A023758

Sequence in context: A001000 A094947 A092621 this_sequence A048975 A009571 A087520

Adjacent sequences: A152446 A152447 A152448 this_sequence A152450 A152451 A152452

KEYWORD

nonn

AUTHOR

Leroy Quet Dec 04 2008

EXTENSIONS

Extended by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Stefan Steinerberger (stefan.steinerberger(AT)gmail.com) and Ray Chandler (rayjchandler(AT)sbcglobal.net), Dec 05 2008

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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research