login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024769 Every prefix prime in base 9 (written in base 9). 4
2, 3, 5, 7, 21, 25, 32, 34, 52, 58, 74, 78, 212, 218, 254, 322, 328, 342, 344, 528, 582, 744, 782, 784, 788, 2122, 2182, 2188, 2542, 2548, 3224, 3282, 3422, 3442, 3444, 5282, 7448, 7844, 7884, 21222, 21822, 25428, 25484, 32242, 32248, 34224, 34228, 34422, 34442 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Nathaniel Johnston, Table of n, a(n) for n = 1..68 (full sequence)

MAPLE

s:=[1, 2, 4, 5, 7, 8]: a:=[[2], [3], [5], [7]]: l1:=1: l2:=5: do for j from l1 to l2 do for k from 1 to 6 do d:=[s[k], op(a[j])]: if(isprime(op(convert(d, base, 9, 9^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 21 2011

CROSSREFS

Sequence in context: A209191 A162948 A024768 * A085557 A125665 A046034

Adjacent sequences:  A024766 A024767 A024768 * A024770 A024771 A024772

KEYWORD

nonn,base,easy,fini,full

AUTHOR

David W. Wilson

EXTENSIONS

Ends at a(68) = 3444224222.

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 November 20 12:13 EST 2019. Contains 329335 sequences. (Running on oeis4.)