Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A141132 a(n) = prime(prime(prime(prime(A028815(n) - 1) - 1) - 1) - 1) - 1. 6
1, 2, 36, 576, 1492, 4512, 8110, 14778, 18222, 26416, 41452, 51576, 71740, 87552, 96352, 111372, 135660, 167106, 172152, 218550, 238990, 250252, 284148, 317856, 351706, 400408, 441478, 463398, 490246, 505780, 527280, 643990, 679036, 718182 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = prime(prime(prime(prime(prime(n)) - 1) - 1) - 1) - 1, with a(0) = 1. - G. C. Greubel, Aug 05 2024
MATHEMATICA
A141132[n_]:= With[{p=Prime}, If[n==0, 1, p[p[p[p[p[n]]-1]-1]-1]-1 ]];
Table[A141132[n], {n, 0, 60}] (* G. C. Greubel, Aug 05 2024 *)
PROG
(Magma)
p:=NthPrime;
A141132:= func< n | n eq 0 select 1 else p(p(p(p(p(n))-1)-1)-1)-1 >;
[A141132(n): n in [0..50]]; // G. C. Greubel, Aug 05 2024
(SageMath)
p=nth_prime
def A141132(n): return 1 if n==0 else p(p(p(p(p(n))-1)-1)-1)-1
[A141132(n) for n in range(51)] # G. C. Greubel, Aug 05 2024
CROSSREFS
Sequence in context: A248343 A025608 A230132 * A064030 A367982 A228790
KEYWORD
nonn,changed
AUTHOR
EXTENSIONS
Extended by D. S. McNeil, Mar 21 2009
Offset changed by G. C. Greubel, Aug 05 2024
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 17 17:14 EDT 2024. Contains 375227 sequences. (Running on oeis4.)