Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A080829
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A080829 Primes that terminate at 20,10,5 in the 3x-1 problem: Repeat, if x is even divide by 2 else multiply by 3 and subtract 1, until 5 is reached. +0
1
5, 7, 13, 19, 47, 89, 107, 139, 149, 167, 181, 191, 199, 223, 241, 251, 271, 281, 317, 353, 383, 397, 401, 421, 431, 499, 503, 509, 541, 571, 593, 601, 607, 631, 643, 709, 797, 809, 811, 839, 859, 887, 941, 947, 997 (list; graph; listen)
OFFSET

1,1

PROGRAM

(PARI) px3nm1(n, p) = { forprime(x=2, n, p1 = x; while(p1>1, if(p1%2==0, p1/=2, p1 = p1*p-1; ); if(p1 == 5 || p1==17, break); ); if(p1 == 5, print1(x" ")) ) }

CROSSREFS

Sequence in context: A117249 A045444 A129782 this_sequence A078884 A154872 A022319

Adjacent sequences: A080826 A080827 A080828 this_sequence A080830 A080831 A080832

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Mar 27 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 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research