login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

%I

%S 1,1,12,11,22,11,24,13,22,31,42,11,24,13,22,31,42,11,24,13,22,31,46,

%T 15,24,33,42,51,62,11,26,15,24,33,42,51,64,13,22,31,42,11,24,13,22,31,

%U 46,15,24,33,42,51,66,15,24,33,42,51,62,11,26,15,24,33,42,51,64,13,22,31

%N Concatenate distance to previous prime & distance to next prime. If no previous prime, use 0.

%e 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.

%K nonn,base

%O 1,3

%A _Gerald Hillier_, Jan 21 2010

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 24 12:42 EDT 2021. Contains 348231 sequences. (Running on oeis4.)