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!)
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
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
Sequence in context: A133959 A133960 A031931 * A087833 A240918 A346948
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)