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!)
A024768 Prefix primes in base 8 (written in base 8). 3
2, 3, 5, 7, 21, 23, 27, 35, 37, 51, 53, 57, 73, 75, 211, 213, 235, 277, 351, 357, 373, 513, 533, 535, 573, 577, 737, 753, 2111, 2117, 2135, 2353, 2773, 3513, 3517, 3571, 3733, 5331, 5355, 5735, 5773, 7371, 7531, 7533, 21113, 21117, 21177, 21355, 23537, 27733 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The final term is a(68) = 21117717.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..68 (full sequence)
MAPLE
s:=[1, 3, 5, 7]: a:=[[2], [3], [5], [7]]: l1:=1: l2:=4: do for j from l1 to l2 do for k from 1 to 4 do d:=[s[k], op(a[j])]: if(isprime(op(convert(d, base, 8, 8^nops(d)))))then a:=[op(a), d]: fi: od: od: l1:=l2+1: l2:=nops(a): if(l1>l2)then break: fi: od: for j from 1 to nops(a) do printf("%d, ", op(convert(a[j], base, 10, 10^nops(a[j])))); od: # Nathaniel Johnston, Jun 22 2011
CROSSREFS
Sequence in context: A320584 A209191 A162948 * A024769 A340112 A085557
KEYWORD
nonn,base,easy,fini,full
AUTHOR
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 March 28 09:04 EDT 2024. Contains 371240 sequences. (Running on oeis4.)