This site is supported by donations to The OEIS Foundation.

 Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing. Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A165802 Primes p with f(p), f(f(p)), ... all prime, where f(n) = (n-1)/2. Stop when f(...f(p)...) is less than 4. 2
 2, 3, 5, 7, 11, 23, 47 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS EXAMPLE (47-1)/2=23(prime);(23-1)/2=11(prime); (11-1)/2=5(prime); (5-1)/2=2. MATHEMATICA f[n_]:=Module[{k=n}, While[k>3, k=(k-1)/2; If[ !PrimeQ[k], Break[]]]; PrimeQ[k]]; lst={}; Do[p=Prime[n]; If[f[p], AppendTo[lst, p]], {n, 5!}]; lst CROSSREFS Subsequence of A165801. Sequence in context: A252791 A068148 A036344 * A107798 A119660 A079148 Adjacent sequences:  A165799 A165800 A165801 * A165803 A165804 A165805 KEYWORD nonn,fini,full AUTHOR Vladimir Joseph Stephan Orlovsky, Sep 28 2009 EXTENSIONS Edited by Charles R Greathouse IV, Oct 05 2009 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 15 03:48 EST 2019. Contains 329990 sequences. (Running on oeis4.)