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!)
A354201 Inverse prime map of A354200. 5
1, 1, 2, 3, 7, 5, 13, 11, 19, 17, 23, 29, 37, 31, 43, 41, 47, 53, 59, 67, 61, 71, 79, 73, 89, 97, 83, 103, 101, 109, 107, 127, 113, 131, 137, 139, 149, 151, 163, 157, 167, 173, 179, 181, 193, 191, 199, 211, 223, 197, 229, 227, 233, 239, 241, 251, 257, 263, 269, 277, 271, 281, 283, 307, 293, 313, 311, 317, 331, 337 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
For all n >= 1, a(A000720(A354200(n))) = A000040(n).
PROG
(PARI) A354201(n) = if(n<=3, (n+1)\2, my(m=prime(n)%4); forstep(i=n-1, 0, -1, if(m==(prime(i)%4), return(prime(i)))));
CROSSREFS
Sequence in context: A359504 A064011 A050367 * A332210 A192175 A294205
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 23 2022
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 30 07:09 EDT 2024. Contains 375532 sequences. (Running on oeis4.)