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!)
A246136 Numbers that are palindromic right angle numbers in base 8. 2
211, 227, 373, 503, 32119, 856147, 2054519, 131479927 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..8.

EXAMPLE

856147 is in the list since it is prime and is equal to 3210123 in base 8.

PROG

(Python)

from sympy import isprime

A246136 = []

for n in range(1, 8):

....for m in range(n-1, -1, -1):

........l = ''.join([str(d) for d in range(n, m-1, -1)])

........p = int(l+l[-2::-1], 8)

........if isprime(p):

............A246136.append(p)

....for m in range(n+1, 8):

........l = ''.join([str(d) for d in range(n, m+1)])

........p = int(l+l[-2::-1], 8)

........if isprime(p):

............A246136.append(p)

A246136 = sorted(A246136)

CROSSREFS

Cf. A246135, A244369.

Sequence in context: A133959 A133960 A031931 * A087833 A240918 A317394

Adjacent sequences:  A246133 A246134 A246135 * A246137 A246138 A246139

KEYWORD

nonn,base,fini,full

AUTHOR

Chai Wah Wu, Aug 15 2014

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 9 18:32 EDT 2020. Contains 336326 sequences. (Running on oeis4.)