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!)
A171986 Concatenate distance to previous prime & distance to next prime. If no previous prime, use 0. 0
1, 1, 12, 11, 22, 11, 24, 13, 22, 31, 42, 11, 24, 13, 22, 31, 42, 11, 24, 13, 22, 31, 46, 15, 24, 33, 42, 51, 62, 11, 26, 15, 24, 33, 42, 51, 64, 13, 22, 31, 42, 11, 24, 13, 22, 31, 46, 15, 24, 33, 42, 51, 66, 15, 24, 33, 42, 51, 62, 11, 26, 15, 24, 33, 42, 51, 64, 13, 22, 31 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
a(7)=24 as 5 is largest previous prime to 7, distance is 2, & 11 is smallest next prime to 7, distance 4. Concatenate 2 & 4 gives 24.
CROSSREFS
Sequence in context: A019330 A086045 A072220 * A254717 A195748 A038337
KEYWORD
nonn,base
AUTHOR
Gerald Hillier, Jan 21 2010
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)