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!)
A094341 Index of the occurrence of n in A094339. 3
2, 1, 3, 5, 9, 4, 23, 6, 8, 10, 40, 7, 22, 30, 11, 15, 67, 19, 49, 13, 38, 42, 43, 14, 12, 56, 21, 46, 48, 18, 58, 16, 41, 68, 37, 20, 89, 57, 60, 55, 76, 63, 151, 78, 107, 96, 98, 17, 61, 65, 69, 71, 24, 103, 87, 64, 80, 74, 44, 83, 59, 92, 101, 94, 72, 91, 185, 142, 104, 45 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
A094339 := proc(nmax) local a, n, sprev, i; a := [2] ; while nops(a) < nmax do sprev := add(i, i=a) ; n := 1 ; while sprev mod n <> 0 or n in a do n := n+1 ; od ; a := [op(a), n] ; od ; RETURN(a) ; end: a094339 := A094339(300) : n := 1 : while member(n, a094339, 'w') do printf("%d, ", w) ; n := n+1 ; od : # R. J. Mathar, Apr 30 2007
MATHEMATICA
nmax = 70; s = {2};
Do[AppendTo[s, Min[Select[Divisors[Total[s]], !MemberQ[s, #] &]]], {t, 2, 3 nmax}];
a[n_] := FirstPosition[s, n][[1]];
Table[a[n], {n, 1, nmax}] (* Jean-François Alcover, Oct 24 2023, after Ivan Neretin in A094339 *)
CROSSREFS
Sequence in context: A372660 A263047 A021828 * A255939 A373498 A333177
KEYWORD
nonn
AUTHOR
Amarnath Murthy, May 17 2004
EXTENSIONS
Corrected and extended by R. J. Mathar, Apr 30 2007
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 September 5 14:26 EDT 2024. Contains 375700 sequences. (Running on oeis4.)