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!)
A078290 Least nontrivial multiple of the n-th prime beginning with 6. 8
6, 6, 60, 63, 66, 65, 68, 608, 69, 609, 62, 629, 615, 602, 611, 636, 649, 610, 603, 639, 657, 632, 664, 623, 679, 606, 618, 642, 654, 678, 635, 655, 685, 695, 6109, 604, 628, 652, 668, 692, 6086, 6154, 6112, 6176, 6107, 6169, 633, 669, 681, 687, 699, 6214 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
f[n_] := Block[{k = 2, m = n}, While[ IntegerDigits[k*m][[1]] != 6, k++ ]; k*m]; Table[ f[ Prime[n]], {n, 1, 55}]
PROG
(Python)
from sympy import prime
def a(n):
pn = prime(n)
m = 2*pn
while str(m)[0] != '6': m += pn
return m
print([a(n) for n in range(1, 53)]) # Michael S. Branicky, Jun 06 2021
CROSSREFS
Sequence in context: A075179 A321971 A074949 * A269888 A269767 A065239
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Nov 26 2002
EXTENSIONS
Edited, corrected and extended by Robert G. Wilson v, Nov 29 2002
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 08:00 EDT 2024. Contains 371235 sequences. (Running on oeis4.)